安装Apache
場景
CentOS安裝Apache
測試
yum install httpd -y /etc/rc.d/init.d/httpd start /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/init.d/iptables restart默認目錄: /var/www/html 日志目錄 /var/log/httpd/access_log轉載于:https://www.cnblogs.com/17bdw/p/10464780.html
總結
- 上一篇: Java基础语法 第2节 Java语言基
- 下一篇: SSH连接原理及ssh-key讲解