Link to home
Start Free TrialLog in
Avatar of Baldev021700
Baldev021700

asked on

squid installation

Can anybody help me with the steps and procedures to install and configure squid on Linux.

Avatar of Reinier
Reinier

Yes, but first help us by saying which Linux distro you use.
Avatar of Baldev021700

ASKER

I am using Linux 2.2.12-20 and squid2.3.STABLE.tar.gz as source.
ASKER CERTIFIED SOLUTION
Avatar of Reinier
Reinier

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanx for the help.But can u point out what mistake I am doing.

I downloaded the SQUID-2.3.STABLE.tar.gz
Then I did a tar of the file.Then I ran the command ./configure --prefix=/usr/local/squid.
Then I ran make all
Then finally I did make install.
After that squid should run right if i execute squid -z and again squid.What is the log file or how can I check if squid is running properly or not??
Just point some browser's proxysettings at your host (port 3128) and see if you get any pages. If squid is not with you you will see an error message from the browser.

You should see squid somewhere in the output of "ps aux | less".

The log files are usually in /var/log/squid/. If not, then check the squid.conf file for the entries "cache_log", "store_log" and "cache_access_log".

The nice extra you get from a binary package from RedHat is among others the startup script in /etc/rc.d/init.d/.
Thanx a lot ...It's working fine.I can now go ahead with fine tuning the configuration files.