服务端
环境
操作系统:CentOS Linux release 7.8.2003 (Core)
架构:x86
安装squid
yum install squid -y
配置
http_access deny all修改为http_access allow all
运行squid
systemctl restart squid
客户端
http代理(/etc/profile)
export http_proxy=http://2.2.2.147:3128
export https_proxy=http://2.2.2.147:3128
yum代理(/etc/yum.conf)
proxy=http://2.2.2.147:3128