求助军哥centos5.5安装lnmp失败
军哥我的是虚拟机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 ===================================
[H[JError: /usr/local/nginx not found!!!
/usr/local/php
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. 按lnmp.org/install.html上的要求提供信息,没日志就没法说原因 lnmp安装日志内容 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=
保存,重新安装。 谢谢军哥我马上试一下
页:
[1]