VPS侦探论坛

 找回密码
 注册
查看: 3777|回复: 5

lnmp安装失败

[复制链接]
发表于 2016-12-2 17:20:23 | 显示全部楼层 |阅读模式

lnmp版本为1.3系统为centos 6.5 32位
最后的提示信息:好像没一个安装成功的
Error: Nginx install failed.
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit http://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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-12-2 19:29:29 | 显示全部楼层


Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] Could not open/read file:///mnt/cdrom/repodata/repomd.xml
Trying other mirror.

没设置网络源特定不行
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-12-3 07:37:04 | 显示全部楼层

回复 2# 的帖子


我用的是光盘yum源,在虚拟机中配置的,要用网络yum源才可以?------------------------------------------------------------------------------------------
然后我把光盘yum源去掉了,再进行安装,还是出错
Checking ...
Error: Nginx install failed.
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit http://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.

[ 本帖最后由 不能写真名 于 2016-12-3 08:08 编辑 ]

本帖子中包含更多资源

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

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

回复 3# 的帖子

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-12-3 09:45:53 | 显示全部楼层

回复 4# 的帖子


恩,我再试试,我把虚拟机还原到初始状态了,把防火墙和selinux都关了之后再安装
Wrote PEAR system config file at: /usr/local/php/etc/pear.conf
You may want to add: /usr/local/php/lib/php to your php.ini include_path
/root/lnmp1.3-full/src/php-5.4.45/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f /usr/local/php/bin/phar.phar /usr/local/php/bin/phar
Installing PDO headers:          /usr/local/php/include/php/ext/pdo/
Copy new php configure file...
Modify php.ini......
config-set succeeded
config-set succeeded
All settings correct for using Composer
卡到这了,不知道用不用等待
然后我用阿里云的服务器安装,一次就成功了----------------------------------下午的时候,虚拟机还是卡在那里,于是我又重新安装了一次,还是在这里,但是时间不长,又继续走了,然后就安装成功了--------------------------------------

[ 本帖最后由 不能写真名 于 2016-12-3 13:45 编辑 ]

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

发表于 2016-12-3 18:59:38 | 显示全部楼层

回复 5# 的帖子


国内的话有可能会卡在composer安装上因为要连国外的服务器下载
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-3-29 03:30 , Processed in 0.028569 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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