最近重新编译安装了学校的squid,分享下:
Step 1 获取源码
wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.14.tar.gz
Step 2 解压、进入目录

tar zxvf squid-3.1.14.tar.gz
cd squid-3.1.14

Step 3 configure

./configure --prefix=/usr/local/squid --disable-carp --with-aufs-threads=32 --with-pthreads --with-large-files --enable-storeio=\'ufs,aufs\' --enable-disk-io=\'AIO,Blocking\' --enable-removal-policies=\'heap,lru\' --disable-wccp --enable-kill-parent-hack --enable-snmp --disable-poll --disable-select --disable-ipv6 --enable-auth=basic --with-aio --disable-ident-lookup --enable-useragent-log --enable-referer-log --with-filedescriptors=65536 --with-pidfile=/var/run/squid.pid

Step 4 安装

make && make install

哟?不错哎 订阅小米的RSS Feeds 回去慢慢看^_^