March 25th, 2009 by gia

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
  1. tar -zxvf squid-2.7.STABLE6.tar.gz
  2. cd squid-2.7.STABLE6
  3. ./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
  4. make
  5. make install
  6. chown squid.squid /usr/share/icons -R
  7. chown squid.squid /usr/share/errors -R
  8. chown squid.squid /usr/var -R
  9. chown squid.squid /etc/squid -R
  10. chown squid.squid /var/log/squid -R
  11. vi /etc/squid/squid.conf  #squid configuration
  12. squid -z    #create swap
  13. squid -sYD  #running squid
  14. vi /etc/rc.local  #add this line -> /usr/local/sbin/squid -sYD < – for automatic run in booting
Tags: , , ,
Posted in Linux, Trustix | No Comments »
Leave a Reply