instal perl5 ndisek
#cd /usr/ports/www/squid && make BATCH=yes install clean;
#pkg_delete squid-2.7.9
#wget http://202.57.29.252/download/squid/2.7/squid-2.7.STABLE9.tar.gz
#tar -zxvf squid-2.7.STABLE9.tar.gz
#cd squid-2.7.STABLE9
#./configure --enable-http-violations --sysconfdir=/etc/squid --enable-gnuregex --enable-removal-policies=lru,heap --enable-storeio=null,diskd,ufs,aufs --enable-delay-pools --disable-cache-digests --disable-wccp --disable-wccpv2 --enable-underscores --enable-pf-transparent --enable-auth=basic --enable-basic-auth-helpers=NCSA --disable-follow-x-forwarded-for --enable-large-cache-files --enable-default-languages=English --enable-err-languages=English --disable-ssl --disable-ident-lookups --disable-hostname-checks --enable-async-io --with-pthreads --with-aio --disable-htcp --enable-icp --enable-poll --with-large-files --with-maxfd=65536
#make && make install clean
#rm /etc/squid/squid.conf
#nano /etc/squid/squid.conf
#mkdir /var/squid
#mkdir /var/squid/logs
#chmod 777 /var/squid/logs/
#chmod 777 /cache01
#chmod 777 /cache02
#chmod 777 /cache03
#chmod 777 /cache04
#chmod 777 /cache05
#chmod 777 /cache06
#chmod 777 /dev/pf
#/usr/local/squid/sbin/squid -z
#/usr/local/squid/sbin/squid -D
No comments:
Post a Comment