需要一行一行复制安装

1
2
3
4
5
6
7
apt-get install squid
curl https://raw.githubusercontent.com/hxchen/proxy/master/squid.conf > /etc/squid3/squid.conf
mkdir -p /var/cache/squid
chmod -R 777 /var/cache/squid
service squid3 stop
squid3 -z
service squid3 restart