# 查看版本
yum list | grep squid
# 安装
yum install -y squid
#报错 没有这玩意儿
#换源 没用
dnf install -y squid
成功
# 查看安装
whereis squid
# 配置文件
/etc/squid/squid.conf
设置
#开启
systemctl start squid
#重启
systemctl restart squid
#开机自启
systemctl enable squid
# 注意暴露的是squid端口
firewall-cmd --zone=public --add-port=3128/tcp --permanent
# 重新加载防火墙
firewall-cmd --reload
# 查看开放端口
firewall-cmd --zone=public --list-ports
# 启动squid
systemctl start squid
# 停止squid
systemctl stop squid
# 重启squid
systemctl restart squid
# 设置squid开机自启动
systemctl enable squid
# 关闭squid开机自启动
systemctl disable squid
高匿名没成功
https://blog.csdn.net/weixin_30312557/article/details/97657322?ops_request_misc=&request_id=&biz_id=102&utm_term=squid%E5%8C%BF%E5%90%8D&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-4-97657322.142^v71^js_top,201^v4^add_ask&spm=1018.2226.3001.4187
设置账号和密码 以及白名单 黑名单
http://t.zoukankan.com/lianglab-p-14152729.html