2008-10-28 13:54:04 +01:00
|
|
|
README for squid 3.x
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
REQUIREMENTS
|
|
|
|
|
|
|
|
PRE-INSTALL
|
|
|
|
1. Create user/group squid with a unused id < 99:
|
2007-03-19 13:17:50 +01:00
|
|
|
'groupadd -g 40 squid'
|
|
|
|
'useradd -g squid -u 40 -d /var/squid -s /bin/false squid'
|
2006-02-23 15:26:10 +00:00
|
|
|
'passwd -l squid'
|
2010-03-30 19:55:54 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
POST-INSTALL
|
2015-01-20 16:43:44 +01:00
|
|
|
1. squid requires a mounted /dev/shm for shared memory access
|
|
|
|
2. add a cache_dir entry to /etc/squid/squid.conf:
|
2012-09-20 10:43:57 +02:00
|
|
|
cache_dir aufs /var/squid 2000 16 256
|
2015-01-20 16:43:44 +01:00
|
|
|
3. run '/usr/sbin/squid -z' to build the cache structure
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
PRECAUTION
|
|
|
|
1. all directories used by squid must be chown to
|
|
|
|
squid.squid or to the effective cache user/group defined
|
|
|
|
in squid.conf
|