Table of Contents
Proxy-servers, with their capability to save bandwidth, improve security, and increase web-surfing speed are becoming more popular than ever. At this time only a few proxy-server programs are available. These proxy-servers have two main drawbacks:
| They are commercial. |
| They don't support ICP, ICP is used to exchange hints about the existence of URLs in neighbor caches . |
Derived from the cached software from the ARPA-funded Harvest research project, developed at the National Laboratory for Applied Network Research and funded by the National Science Foundation, Squid offers high-performance caching of web clients, and also supports FTP, Gopher, and HTTP data objects. It stores hot objects in RAM, maintains a robust database of objects on disk, has a complex access control mechanism, and supports the SSL protocol for proxying secure connections. In addition, it can be hierarchically linked to other Squid-based proxy servers for streamlined caching of pages.
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
These are Package(s) and are available here:
| Squid Homepage:http://www.squid-cache.org/ |
| Squid FTP Site: 204.144.128.89 |
| 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