1.安装apache
yum install httpd
2.启动apache
systemctl start httpd.service
3.设置开机启动
systemctl enable httpd.service
4.关闭防火墙就可以访问了
systemctl stop firewalld.service
本文共 205 字,大约阅读时间需要 1 分钟。
1.安装apache
yum install httpd
2.启动apache
systemctl start httpd.service
3.设置开机启动
systemctl enable httpd.service
4.关闭防火墙就可以访问了
systemctl stop firewalld.service
转载于:https://my.oschina.net/zhoudage/blog/1036345