1.system1上面安装yum -y groupinstall web* 注意有星号 注意是groupinstall 不是install vim /etc/httpd/conf/http.conf 找到 Servername这一行,值修改为system1.rhce.cc:80 保存退出 wget -O /var/www/hrml/index.html 链接 意思是下载并另存为 firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.122.0/24 service name=http accept' firewall-cmd --add-rich-rule 'rule family=ipv4 source address=192.168.122.0/24 service name=http accept' --permanent systemctl start httpd systemctl enable httpd 在模拟物理机上访问试一下 在浏览器中输入system1.rhce.cc 正常会出现station就对了 记住了模拟物理机dns一定要改成192.168.122.10 改的话在这个文件中改vim /etc/resolv.conf
rhce 第12题配置web站点
转载
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
RHCE 第10题配置NFS服务
rhce 考题
rhce 考题 -
配置Web站点
站点
职场 休闲 -
RHCE 第9题:配置多用户SMB挂载
rhce 考题笔记
rhce 考题