我有一个安装了 LAMP 的 VPS。我点击了这个链接:
https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6
我尝试在网络浏览器中输入我的 IP,但没有任何显示。
这是我的 ipTables
[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source desitnation
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source desination
这是ps aux | grep 阿帕奇:
[root@localhost ~]# ps aux | grep apache
apache 12500 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12501 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12502 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12503 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12504 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12505 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12506 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
apache 12507 0.0 0.1 232732 4724 ? S 21:44 0:00 /usr/sbin/httpd
root 12508 0.0 0.0 103236 824 pts/0 S 22:55 0:00 grep apache