LAMP がインストールされた VPS があります。私はこのリンクをたどった:
https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-6
Web ブラウザに自分の 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 Apache:
[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