Squid 2.7stable6 in Trustix 3.05

Squid 2.7stable6 installing steps in Trustix 3.05 :

wget -t0 -b -osquid http://www.squid-cache.org/Versions/v2/2.7/squid-2.7.STABLE6.tar.gz
tar -zxvf squid-2.7.STABLE6.tar.gz
cd squid-2.7.STABLE6
./configure --sysconfdir=/etc/squid --prefix=/usr --enable-async-io --enable-removal-policies=lru,heap --disable-delay-pools --disable-wccp --disable-wccpv2 --enable-kill-parent-hack --enable-snmp --enable-default-err-language=English --enable-err-languages=English --enable-linux-netfilter --disable-auth --enable-gnuregex
make
make install
chown squid.squid /usr/share/icons -R
chown squid.squid /usr/share/errors -R
chown squid.squid /usr/var -R
chown squid.squid /etc/squid -R
chown squid.squid /var/log/squid -R
vi /etc/squid/squid.conf  #squid configuration
squid -z    #create swap
squid -sYD  #running squid
vi /etc/rc.local  #add this line -> /usr/local/sbin/squid -sYD < - for automatic run in booting

Leave a Comment

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.