1
0
forked from ports/opt
..
2022-06-09 13:20:40 +02:00
2023-05-02 09:30:03 +02:00
2023-05-02 09:30:03 +02:00
2022-02-22 18:43:18 +01:00

README for squid 3.x

REQUIREMENTS

PRE-INSTALL
1. Create a system user/group squid:
   'groupadd -r squid'
   'useradd -g squid -r -d /var/squid -s /bin/false squid'
   'passwd -l squid'

POST-INSTALL
1. squid requires a mounted /dev/shm for shared memory access
2. add a cache_dir entry to /etc/squid/squid.conf:
   cache_dir aufs /var/squid 2000 16 256
3. run '/usr/sbin/squid -z' to build the cache structure

PRECAUTION
1. all directories used by squid must be chown to 
   squid.squid or to the effective cache user/group defined 
   in squid.conf