1、本地yum源安装httpd服务 (必须是已搭建好本地yum源)

   yum install httpd -y 安装httpd)

 

 

2、systemctl restart httpd.service    (重启httpd服务)

 

 

 

3、进入fz找到路径  /var/www/html  

s

 

 

 

4、关闭防火墙、重启httpd
systemctl stop firewalld.service
systemctl restart httpd         

 

 

5、完成  可进入相应地址查看