VPS侦探论坛

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

求助军哥centos5.5安装lnmp失败

[复制链接]
发表于 2013-2-5 11:06:16 | 显示全部楼层 |阅读模式

军哥我的是虚拟机VM安装CentOS5.5,现在安装LNMP,每次安装到这里都失败。不知道什么问题

phpMyAdmin-3.4.8-all-languages/tbl_replace.php
phpMyAdmin-3.4.8-all-languages/db_search.php
phpMyAdmin-3.4.8-all-languages/user_password.php
phpMyAdmin-3.4.8-all-languages/pmd_display_field.php
============================phpMyAdmin install completed=================================
============================add nginx and php-fpm on startup============================
Download new nginx init.d file......
--2013-02-04 19:13:02--  http://soft.vpser.net/lnmp/ext/init.d.nginx
正在解析主机 soft.vpser.net... 96.44.153.111, ::
Connecting to soft.vpser.net|96.44.153.111|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 416 Requested Range Not Satisfiable
    文件已下载完成;不会进行任何操作。
在 mysql 服务中读取信息时出错:没有那个文件或目录
===========================add nginx and php-fpm on startup completed====================
Starting LNMP...
./centos.sh: line 493: /etc/init.d/mysql: 没有那个文件或目录
Starting php_fpm /etc/init.d/php-fpm: line 61: /usr/local/php/bin/php-cgi: 没有那个文件或目录
failed
===================================== Check install ===================================
Error: /usr/local/nginx not found!!!
/usr/local/php [found]
Error: /usr/local/mysql not found!!!
========================== Check install ================================
Sorry,Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-2-5 11:51:51 | 显示全部楼层


按lnmp.org/install.html上的要求提供信息,没日志就没法说原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-2-5 13:53:52 | 显示全部楼层

lnmp安装日志内容

本帖子中包含更多资源

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

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



gcc之类的都没装上
glibc-headers-2.5-107.i386 from base has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-107.i386 (base)
glibc-headers-2.5-107.i386 from base has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-107.i386 (base)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-107.i386 (base)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-107.i386 (base)
You could try using --skip-broken to work around the problem

编辑/etc/yum.conf 然后找到这行:
exclude这一行,将exclude=后面的东西都删除
删除后改行就是exclude=
保存,重新安装。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-2-5 20:41:52 | 显示全部楼层

谢谢军哥我马上试一下

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

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

本版积分规则

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

GMT+8, 2024-11-16 21:21 , Processed in 0.026855 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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