设置squid代理

apt-get update
apt-get install squid

vi etc/squid/squid.conf

http_access deny all 改为 http_access allow all

service squid start

squid –k parse 检查语法
service squid start 启动squid
chkconfig squid on 加入开机启动
netstat –nltp   查看3128端口是否打开

猜你喜欢

转载自sunj.iteye.com/blog/2270473