标签:squid
1、下载squid 2.7 源码包:
(squid-2.7.STABLE9-20110824)
2、解压缩 :
tar –zxvf squid-2.7.STABLE9-20110824.tar.gz
3、进入解压完目录:
cd squid-2.7.STABLE9-20110824
4、配置参数来安装:
configure --prefix=/usr/local/squid
5、编译和安装:
make & make install (root)
6、创建squid服务用户,并设置缓存目录权限
adduser squid
addgroup squid
mkdir /usr/local/squid/var/cache
chown -R squid:squid /usr/local/squid/var
标签:squid
原文地址:http://blog.csdn.net/sanwuhai/article/details/45219195