VPS侦探论坛

 找回密码
 注册
查看: 4636|回复: 4

阿里云CentOS 5.4 32位 安装LNMP 1.2 之后无法通过ip或域名访问

[复制链接]
发表于 2015-10-7 20:24:13 | 显示全部楼层 |阅读模式

阿里云CentOS 5.4 32位安装LNMP 1.2 完成之后显示是成功的,但是无法通过ip地址或域名来访问。

系统防火墙已经关闭了。

麻烦军哥帮我看下怎么回事吧,谢谢了!



以下是安装完成之后显示的信息:

============================phpMyAdmin install completed=======================

Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx...  done
Add mysql service at system startup...
Starting MySQL.. SUCCESS!
Add php-fpm service at system startup...
Starting php-fpm  done
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
+------------------------------------------------------------------------+
|          LNMP V1.2 for CentOS Linux Server, Written by Licess          |
+------------------------------------------------------------------------+
|         For more information please visit http://www.lnmp.org          |
+------------------------------------------------------------------------+
|    lnmp status manage: lnmp {start|stop|reload|restart|kill|status}    |
+------------------------------------------------------------------------+
|  phpMyAdmin: http://IP/phpmyadmin/                                     |
|  phpinfo: http://IP/phpinfo.php                                        |
|  Prober:  http://IP/p.php                                              |
+------------------------------------------------------------------------+
|  Add VirtualHost: lnmp vhost add                                       |
+------------------------------------------------------------------------+
|  Default directory: /home/wwwroot/default                              |
+------------------------------------------------------------------------+
|  MySQL/MariaDB root password: ******                          |
+------------------------------------------------------------------------+
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
nginx (pid 17429) is running...
php-fpm is runing!
SUCCESS! MySQL running (17848)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
Install lnmp V1.2 completed! enjoy it.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-10-8 09:02:48 | 显示全部楼层


iptables -L -n看一下你的防火墙规则
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-10-8 12:03:21 | 显示全部楼层

谢谢军哥!您看下吧,多谢了!

[root@AY131223175232Z ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-10-8 20:54:48 | 显示全部楼层



iptables看没问题

域名加白名单了没?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-10-8 21:35:38 | 显示全部楼层

您好,军哥,谢谢!

域名都是在万网做好了备案的,我刚才又提交了工单,让他们加入白名单,看看情况如何,谢谢了!

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-3-29 06:08 , Processed in 0.027735 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表