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
|
2010-03-30 19:55:54 +02:00
|
|
|
1. add a cache_dir entry to /etc/squid/squid.conf:
|
|
|
|
cache_dir diskd /var/squid 2000 16 256
|
|
|
|
2. 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
|