squid代理
服务端
环境
操作系统:CentOS Linux release 7.8.2003 (Core)
架构:x86
安装squid
yum install squid -y
配置
vi /etc/squid/squid.conf
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
本文来自博客园,作者:MegaloBox,转载请注明原文链接:https://www.cnblogs.com/cpw6/p/17028507.html