BiLOT » How to install Apache2 (CentOS 5.4)
How to install Apache2 (CentOS 5.4)
# yum install httpd httpd-devel
# chkconfig --levels 235 httpd on
# /etc/init.d/httpd startChange IPTables
# vi /etc/sysconfig/iptablesIncludes the following before the REJECT line:
1-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
2-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT
浙公网安备 33010602011771号