阿里雲(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 (Centos 7使用firewalld代替了原來的iptables。)
相關文章
相關標籤/搜索