Free PC Clinic-The Best Free Computer Support Forum of Sri Lanka

Full Version: How to install squid proxy in Linux server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Question
How to install squid proxy in Linux server ?

Answer
If you select Squid when installing linux it will be available in your linux server and you have to only configure it.

However if you want to install a fresh copy of squid just follow these steps
(1) Download Squid from www.squid-cache.org

(2) Install it ,
If you download RPM version
# rpm -ivh squid-3.0.STABLE19.tar.gz

If you download compressed tar version
Decompress it
# tar -zxvf squid-3.0.STABLE19.tar.gz
# cd squid-3.0.STABLE19
# ./configure
# make
# make install

That's all , now you have to configure Squid.conf
By default, squid.conf is located at /usr/local/squid/etc/squid.conf
Edit Squid.conf File as per your requirements.

To see status of squid type

service squid Start

To start squid type
service squid Start

To restart squid type
service squid restart

To stop squid

service squid stop

Now configure proxy setting in your client browser and tell client to enjoy the Internet
Reference URL's