20.3. 代理服务器¶
20.3.1. 安装软件¶
[root@centos-150 ~]# yum install squid
20.3.2. 编辑配置文件¶
[root@centos-150 ~]# vim /etc/squid/squid.conf
# 修改http_access deny all为如下内容
http_access allow all
20.3.3. 启动服务¶
[root@centos-150 ~]# systemctl start squid
[root@centos-150 ~]# netstat -tunlp |grep 3128
tcp6 0 0 :::3128 :::* LISTEN 6861/(squid-1)