ABOUT SQUID PROXY SERVER:
Squid proxy server enables you to cache your web content and return it quickly on subsequent requests. A proxy server is a server that caches the internet. Clients connect to the proxy server with
a request for an internet server. The proxy server will connect to the internet server on behalf
of the client. The proxy server will also cache the pages retrieved from the internet server.
A proxy server may provide pages from his cache to a client, instead of connecting to the
internet server to retrieve the pages.
When web traffic passes via a proxy server, it is common practice to configure the proxy
with extra settings for access control. Access control in a proxy server can mean user account
access, but also website(url), ip-address or dns restrictions.
root@unixhops:~# apt-get install squid (For DEBIAN system)
Installation squid on RHEL & Cent OS:
[root@RHEL5 ~]#yum install squid
squid’s main configuration file is /etc/squid/squid.conf. The file explains every parameter
in great detail.
root@unixhops:~# wc -l /etc/squid/squid.conf
By default the squid proxy server will listen to port 3128.
root@unixhops:~# grep ^http_port /etc/squid/squid.conf
Starting and stopping service of squid:
root@unixhops:~# service squid start
Starting Squid HTTP proxy: squid.
root@unixhops:~# service squid restart
Restarting Squid HTTP proxy: squid.
root@unixhops:~# service squid status
squid is running.
root@unixhops:~# service squid stop
Stopping Squid HTTP proxy: squid.