安装squid

yum install squid
systemctl start squid
systemctl enable squid
systemctl status squid

配置squid