centos7 安装httpd服务

1.用yum安装httpd

yum install httpd -y

2.重启http服务并关闭防火墙

 

3验证

原文地址:https://www.cnblogs.com/jw29/p/6086674.html