[英]Cannot view New Centos VPS in browser
I have just registered for an unmanaged Centos 6 VPS. 我刚刚注册了不受管理的Centos 6 VPS。 Have been following a guide to get lamp stack running, have followed instructions but when I try to view IP in browser I just get search results.
一直在遵循使灯泡堆栈运行的指南,并按照说明进行操作,但是当我尝试在浏览器中查看IP时,我只会得到搜索结果。
The steps I followed are: 我遵循的步骤是:
Fresh Centos 6 VPS configured by host 主机配置的最新Centos 6 VPS
Changed root pass 更改了根通行证
yum install php-common php-cli php-devel php-fpm php-gd php-imap php-intl php-mysql php-process php-xml php-xmlrpc php-zts (install common modules) 百胜安装php-common php-cli php-devel php-fpm php-gd php-imap php-intl php-mysql php-process php-xml php-xmlrpc php-zts(安装通用模块)
Added ServerName localhost to /etc/httpd/conf/httpd.conf 将ServerName localhost添加到/etc/httpd/conf/httpd.conf
chkconfig httpd on (to run apache on startup) chkconfig httpd on(在启动时运行apache)
The tutorial I am following states that I should be able to paste my IP into the browser and see a "Apache 2 Powered by Centos" demo page 我正在遵循的教程指出,我应该能够将IP粘贴到浏览器中,并看到“ Apache 2 Powered by Centos”演示页面
Can anyone spot a problem with the current config? 谁能发现当前配置有问题?
Port 80 Blocked by firewall: 端口80被防火墙阻止:
/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save / sbin / iptables -I输入-p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables保存
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.