14.2 Squid服务

1.网络配置

RHEL 8服务器

网卡1:主机模式,192.168.10.2/24

网卡2:桥接模式(DHCP,连接外网)

客户机:WIN7 192.168.10.3/24

图片[1]-14.2 Squid服务-大赛人网
图14-1 Squid服务器网络配置

2.外网测试

[root@dsrw ~]# ping wwww.baidu.com
PING ps_other.a.shifen.com (39.156.66.10) 56(84) bytes of data.
64 bytes from 39.156.66.10 (39.156.66.10): icmp_seq=1 ttl=52 time=45.8 ms

3.安装Squid服务程序

[root@dsrw ~]# yum install squid
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
google-chrome                                   969  B/s | 1.3 kB     00:01    
google-chrome                                   1.3 kB/s | 3.6 kB     00:02    
AppStream                                       3.1 MB/s | 3.2 kB     00:00    
-BaseOS                                         2.4 MB/s | 2.7 kB     00:00    
依赖关系解决。
 软件包     架构      版本                                   仓库          大小
Installing:
 squid      x86_64    7:4.4-4.module+el8+2479+dae5d0d3       AppStream    3.6 M
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容