|Securing and Optimizing Linux: RedHat Edition -A Hands on Guide|
|Prev||Chapter 28. Software -Server/Proxy Network||Next|
In our compilation and configuration we'll configure Squid to run as an httpd-accelerator to get more performance out of our web server. In accelerator mode, the Squid server acts as a reverse proxy cache: it accepts client requests, serves them out of cache, if possible, or requests them from the original server for which it is the reverse proxy. Also we'll show you how to configure Squid as a proxy-caching server to be able to let all users in your corporate network use Squid to access the Internet.
These installation instructions assume
Commands are Unix-compatible.
The source path is /var/tmp, other paths are possible.
Installations were tested on Red Hat Linux 6.1 and 6.2.
All steps in the installation will happen in super-user account root.
Squid version number is 2.3.STABLE2
These are Package(s) and are available here:
|Squid FTP Site: 220.127.116.11|
|You must be sure to download: squid-2.3.STABLE2-src.tar.gz|
Before you decompress tarballs, it is a good idea to make a list of files on the system before you install Squid, and one afterwards, and then compare them using diff to find out what file it placed where. Simply run find /* > Squid1 before and find /* > Squid2 after you install the software, and use diff Squid1 Squid2 > Squid-Installed to get a list of what changed.
To Compile, you need to decompress the tarball, tar.gz.:
[root@deep] /# cp squid-version.STABLEz-src.tar.gz /var/tmp [root@deep] /# cd /var/tmp [root@deep ]/tmp# tar xzpf squid-version.STABLEz-src.tar.gz