第一步
写仓库,挂载仓库写yum源
vim /etc/yum.repo.d/base.repo
[baseos]
mane=baseos
baseurl=file:///mnt/BaseOS
gpgcheck=0
[app]
name=appstream
baseurl=file:///mnt/AppStream
gpgcheck=0
第二步
挂载mount /dev/sr0 /mnt 加磁盘
yum install -y httpd 安装yum包
第三步
echo helloword > /var/www/html/index.html
systemctl restart httpd
systemctl stop firewlld
setenforce 0
getenforce
curl 192.168.187.131 测试