Installing and Configuring the Squid Caching Proxy Server
Squid is really the cornerstone of today's CacheFu, and should not be much trouble to get working if you carefully follow our instructions.
There are many ways to install Squid on your server, depending upon OS vendor, platform, and preference. Installing from source is relatively straightforward on most UNIX and workalikes such as GNU/Linux, but I avoid it when packages are available, such as on RedHat Enterprise Linux, Debian GNU/Linux, etc.. Instructions for building Squid from source may be found here. Ignore the sections about customizing squid.conf, as CacheFu includes a script for automatically generating this and other supporting configuration files where relevant.
In order to generate your config, go to the 'squid' subfolder of your CacheFu installation, or 'CacheFuDocumentation/squid' if your CacheFu comes from the Plone 2.5 release, and edit the 'Makefile' and 'squid.cfg' files to reflect your environment. Always keep in mind that it is imperative for you to use this generated configuration, making as few direct modifications to the generated configs as possible, if any.
Once you are happy with your base configuration, simply run 'make' from within the 'squid' directory, and then change directory to 'output', or whatever you have set your output directory to be, where you will run './deploy' as root.
Previous:
Preparing and Configuring Zope and Plone for Caching
