阿里云(centOS 7) 安装apache

安装 apache:

yum install httpd httpd-devel

service httpd start

防火墙中打开 80 端口:

firewall-cmd –zone=public –add-port=80/tcp –permanent

firewall-cmd –reload

猜你喜欢

转载自blog.csdn.net/hanxinkong/article/details/82194582