关闭防火墙和setenforce
systemctl stop firewalld.service
setenforce 0
配置yum
输入yum install httpd -y 安装httpd服务
重启httpd服务:service httpd restart
关闭防火墙和setenforce
systemctl stop firewalld.service
setenforce 0
配置yum
输入yum install httpd -y 安装httpd服务
重启httpd服务:service httpd restart
转载于:https://www.cnblogs.com/jw1519/p/6227226.html