挂载本地光盘到/mnt
![](https://img-blog.csdnimg.cn/img_convert/8d1d5540e9a9264c6d66b549585e3a76.png)
挂载成功
2.配置yum源仓库文件通过多种方式实现
仓库1 :
Name: RH294_Base
Description: RH294 base software
Base urt: file:///mnt/BaseOS
不需要验证钦件包 GPG 签名
仓库 2:
Name: RH294_Stream
Description : RH294 stream software
Base url:file:///mnt/AppStream
不需要验证软件包 GPG 签名
3.配置成功后安装http软件包(多种方法实现)
启用此软件仓库
![](https://img-blog.csdnimg.cn/img_convert/a36c68623697049bc6719b467baa6aee.png)
查看文件优先级
![](https://img-blog.csdnimg.cn/img_convert/2da5e57ea7828837da1539860ea68d7f.png)
![](https://img-blog.csdnimg.cn/img_convert/78caca26d384a63ed2780246b26e770d.png)
重新创建新的配置文件
![](https://img-blog.csdnimg.cn/img_convert/7cb5b2d418587714c8744c590bb04cc2.png)
![](https://img-blog.csdnimg.cn/img_convert/eb80482c0c3a6bb127b43ca869bed050.png)
主机列表配置文件写入两台主机server1,server2
![](https://img-blog.csdnimg.cn/img_convert/296f0a79a8ece6d334b1f966d225d43b.png)
可以连通
![](https://img-blog.csdnimg.cn/img_convert/642367acad1d7743655435385881a1c1.png)
![](https://img-blog.csdnimg.cn/img_convert/956c50b45449de3794969db8a40f8e99.png)
配置yum源
![](https://img-blog.csdnimg.cn/img_convert/4a64511e2b9c45b7e0911c2829b9fbb3.png)
![](https://img-blog.csdnimg.cn/img_convert/f6c9fa9996b8b18fc47a3b04b6951ee4.png)
均可安装HTTPD服务,配置成功