cat /etc/*release*or
$ cat /etc/redhat-release
install httpd
$ yum install httpd
Accept port 80
vi /etc/sysconfig/iptablesadd line into iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPTrestart iptables
service iptables restart
沒有留言:
張貼留言