summaryrefslogtreecommitdiff
path: root/squid/README
blob: d5411b90eb12108c7ea2ede67401b9442b733a6a (plain)
    1 README for squid 2.6
    2 
    3 REQUIREMENTS
    4 
    5 PRE-INSTALL
    6 1. Create user/group squid with a unused id < 99:
    7    'groupadd -g 40 squid'
    8    'useradd -g squid -u 40 -d /var/squid -s /bin/false squid'
    9    'passwd -l squid'
   10    
   11 POST-INSTALL
   12 1. run '/usr/sbin/squid -z' to build the cache structure
   13 
   14 PRECAUTION
   15 1. all directories used by squid must be chown to 
   16    squid.squid or to the effective cache user/group defined 
   17    in squid.conf
   18 2. With version 2.5 the location of the squid executable has 
   19    changed from /usr/bin to /usr/sbin. Don't reject the new
   20    startscript /etc/rc.d/squid.
   21 
   22 CONFIGURATION OPTIONS
   23 There are many other configuration options for squid. This
   24 port should be a very basic one, read the docs for the more 
   25 advanced options. George Adamopoulos sent me an email with
   26 some suggestions, which I'll not include in the port, but
   27 put here because of his useful comments:
   28 
   29 --enable-delay-pools
   30   Enable delay pools to limit bandwidth usage. You need to 
   31   enable the option in order to use Squid to limit bandwith 
   32   usage. It will give fair bandwith usage for everybody. 
   33   In my case, I don't want one person sucking all of the 
   34   available bandwidth by downloading a big movie, causing 
   35   others to suffer.
   36 
   37 --enable-storeio=diskd,ufs
   38   Enable diskd. Improve disk I/O performance. According to 
   39   the Squid FAQ, if you enable diskd you can gain a 400% 
   40   increase of perfomance. However, you would need to 
   41   recompile the kernel because your operating system must 
   42   support message queues and shared memory.
   43 
   44 --enable-removal-policies
   45   Build support for the list of removal policies. 
   46   By default, Squid uses LRU, but there are two better 
   47   policies: GDSF and LFUDA. See the Squid config for a more 
   48   detailed explanation.
   49 
   50 --disable-ident-lookups
   51   Removes code that performs Ident (RFC 931) lookups. 
   52   Not really important. By the way, if you do transparent 
   53   proxy, ident lookups won't work.
   54 
   55 --enable-snmp
   56   You can monitor Squid with mrtg or rrdtool.

Generated by cgit