VPS侦探论坛

 找回密码
 注册
楼主: licess

LNMP问题反馈必读

 关闭 [复制链接]
 楼主| 发表于 2013-11-23 13:00:02 | 显示全部楼层

回复 29# 的帖子


安装没有问题,不过建议看看程序的兼容性,有些程序是没法再5.4的版本上运行的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-11-23 13:19:58 | 显示全部楼层


安装没问题,直觉问题是出在安装好LNMP后,更改网站的存放目录修改了这里。1.0默认目录加了default这一层,执行: cp -a /home/wwwroot/default 新目录 chown www:www -R 新目录 。之后添加虚拟主机,DNS解析(cp后的工作目录为: /mnt/wwwroot/web/default 我虚拟机路径配置到/mnt/wwwroot/web这里对吗?,web里面的wordpress可以正常加载主页的,但是web里面的其他项目不执行php代码,所以不确定虚拟机路径是否应该配置到default里面去。。。)

[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 13:43 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-11-23 21:03:32 | 显示全部楼层

回复 32# 的帖子


发该虚拟主机的配置文件看看
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-11-23 21:21:22 | 显示全部楼层

PHP不支持*续




虚拟主机的配置文件信息如下,在线等待。。。server

{

listen       80;

server_name 21wq.com www.21wq.com;

index index.html index.htm index.php default.html default.htm default.php;

root  /mnt/wwwroot/web;


include none.conf;

location ~ .*\.(php|php5)?$

{

try_files $uri =404;

fastcgi_pass  unix:/tmp/php-cgi.sock;

fastcgi_index index.php;

include fcgi.conf;

}


location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$

{

expires      30d;

}


location ~ .*\.(js|css)?$

{

expires      12h;

}


access_log off;

}


//完整配置

[ 本帖最后由 Y.P.S.C.E. 于 2013-11-23 21:24 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-11-24 09:38:48 | 显示全部楼层

回复 34# 的帖子


看配置没错误

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

发表于 2014-4-16 15:05:31 | 显示全部楼层

64位 centos6.5下安装lnmp失败


64位 centos6.5下安装lnmp失败

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
 楼主| 发表于 2014-4-16 18:09:26 | 显示全部楼层

回复 36# 的帖子


Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?re ... =x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error resolving pool.ntp.org: Name or service not known (-2)
源有问题,dns设置也有问题https://bbs.vpser.net/thread-3246-1-1.html
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-5-23 14:07:57 | 显示全部楼层

64位 ubuntu 14.04下安装lnmp失败


root@ubuntu:/home/edusoho# screen -S lnmp
Checking...
Nginx: OK
Error: /usr/local/php not found!!!PHP install failed.
MySQL: OK
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-6-12 16:44:53 | 显示全部楼层

LNMP在Centos6.0中安装失败


1.系统:CentOS6.0  32位 虚拟机:VM,分配内存1G,LNMP版本:1.1
2.安装说明:http://lnmp.org/install.html 刚开始安装一切正常,结果到了最后才安装失败、求帮助

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

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

 楼主| 发表于 2014-6-12 18:05:12 | 显示全部楼层

回复 39# 的帖子




wget: command not found
连最基本的wget命令都没有肯定安装失败

而且你系统的yum有问题,而且有其他程序占用了yum
发表于 2014-6-13 09:20:29 | 显示全部楼层

回复 40# 的帖子


谢谢了,我先再试试
发表于 2014-6-17 12:00:10 | 显示全部楼层

CentOS6.5 安装lnmp 失败


系统:CentOS6.5  32位 LNMP版本:1.1

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2014-7-10 18:05:17 | 显示全部楼层
系统是CentOS 6 64bit
昨天安装lnmp的时候出错,忘记截图,然后今天早上就发现连lnmp都无法启动了so今天重新安装了,然后一直守在电脑前看着

截图如下














[ 本帖最后由 madman 于 2014-7-10 18:08 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-11-13 23:40:31 | 显示全部楼层

升级PHP至PHP5.4.34、nginx至nginx1.7.7后执行HTML正常,执行PHP出现502 Bad Gateway。

/usr/local/nginx/sbin/nginx -t ,正常。
/usr/local/php/bin/php -v,正常。
/root/lnmp statu,正常。

/usr/local/php/var/log/php-fpm.log 的日志如下:

[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:40:55] NOTICE: fpm is running, pid 25595
[13-Nov-2014 22:40:55] NOTICE: ready to handle connections
[13-Nov-2014 22:56:55] NOTICE: Finishing ...
[13-Nov-2014 22:56:55] NOTICE: exiting, bye-bye!
[13-Nov-2014 22:56:57] NOTICE: fpm is running, pid 26207
[13-Nov-2014 22:56:57] NOTICE: ready to handle connections
[13-Nov-2014 23:19:45] NOTICE: Finishing ...
[13-Nov-2014 23:19:45] NOTICE: exiting, bye-bye!
[13-Nov-2014 23:19:46] NOTICE: fpm is running, pid 27339
[13-Nov-2014 23:19:46] NOTICE: ready to handle connections

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

发表于 2015-6-9 23:58:38 | 显示全部楼层

lnmp1.2-full.tar.gz安装失败

服务器
Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux安装后错误

Error: PHP install failed.
Error: Apache install failed.Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

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

本版积分规则

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

GMT+8, 2024-3-19 16:55 , Processed in 0.031558 second(s), 14 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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