1.网络配置
RHEL 8服务器
网卡1:主机模式,192.168.10.2/24
网卡2:桥接模式(DHCP,连接外网)
客户机:WIN7 192.168.10.3/24
![图片[1]-14.2 Squid服务-大赛人网](https://www.dsrw.com/wp-content/uploads/2023/02/图片3-1-1024x987.png)
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
请登录后查看评论内容