QUICKSTART update for 1.2

From: Stephane Bortzmeyer <bortzmeyer@dont-contact.us>
Date: Mon, 16 Mar 1998 17:01:08 +0100

Since the configuration file changed, here is the update:

This document is intended only for people who want to get Squid running
quickly It is not a substitute for the real documentation. Squid has
many features, but only a few of them are useful at the beginning. Use
this only if you have quite a simple setup.

After you retrieved, compiled and installed the Squid software (see
INSTALL in the same directory), you have to configure the squid.conf
file. This is the list of the values you *need* to change, because no
sensible defaults could be defined. Do not touch the other variables
for now. We assume you have installed Squid in the default location:

Uncomment and edit the following lines in /usr/local/squid/etc/squid.conf:



    If you have a parent cache, put it here. The administrators of the
    parent cache typically provided you with instructions. You should
    always ask permission before adding a parent cache.


    Add here the amount of memory (RAM memory) to devote to caching.
    Warning: Squid uses much more than this value. Rule of thumb: if
    you have N megabytes free for Squid, put N/3 here.

cache_dir /usr/local/squid/cache 100 16 256

    Add here (first number, here 100) the amount of hard disk space
    (in megabytes) to devote to caching:

acl, http_access, icp_access

    Access control lists. This is important because it prevents people
    from stealing your network resources. To fill in the
    "allowed_hosts" ACL, use your network address (for instance and your network mask (for instance

        acl manager proto cache_object
        acl localhost src
        acl all src
        acl allowed_hosts src

        http_access deny manager all
        http_access allow allowed_hosts
        http_access deny all

        icp_access allow allowed_hosts
        icp_access deny all


    Put here the e-mail address of the manager:


    If you must start Squid as root, find a safe user and group to run
    as after startup (typically "nobody" and "nogroup"). Do not use
    "root", for security reasons.


    The host name you advertise for the cache.


After editing squid.conf to your liking, run Squid from the command
line TWICE:

    % /usr/local/squid/bin/squid -z
    % /usr/local/squid/bin/squid

Check in the cache.log (/usr/local/squid/logs/cache.log) that
everything is all right. Note that "WARNING: Cannot write to swap
directory" is normal the first time you run Squid.

Once Squid created all its files (it can take several minutes on some
systems), test it with echoping or a regular Web client. By default,
your Squid will run on port 3128. See the Squid FAQ for more details.

Once you have Squid working from the command line, tell your Unix to
start Squid at startup (it depends heavily on the Unix you use, you'll
typically have to modify something in a /etc/rc_something).

This quick start file written by: Stephane Bortzmeyer and Duane
Received on Mon Mar 16 1998 - 08:05:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:23 MST