VPS侦探论坛

 找回密码
 注册
查看: 6456|回复: 2

LNMP0.9 centos x64安装出错

[复制链接]
发表于 2012-9-1 23:09:54 | 显示全部楼层 |阅读模式

LNMP0.9 centos x64安装出错
-------------------------------------------------
./centos.sh: line 310: make: command not found
cp: 无法获取"/usr/local/mysql/share/mysql/my-medium.cnf" 的文件状态(stat): 没有那个文件或目录
./centos.sh: line 321: /usr/local/mysql/bin/mysql_install_db: 没有那个文件或目录
chown: 无法访问"/usr/local/mysql/var": 没有那个文件或目录
chgrp: 无法访问"/usr/local/mysql/.": 没有那个文件或目录
cp: 无法获取"/usr/local/mysql/share/mysql/mysql.server" 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问"/etc/init.d/mysql": 没有那个文件或目录
./centos.sh: line 335: /etc/init.d/mysql: 没有那个文件或目录
./centos.sh: line 341: /usr/local/mysql/bin/mysqladmin: 没有那个文件或目录
./centos.sh: line 353: /usr/local/mysql/bin/mysql: 没有那个文件或目录
./centos.sh: line 357: /etc/init.d/mysql: 没有那个文件或目录
./centos.sh: line 358: /etc/init.d/mysql: 没有那个文件或目录
…………



php-5.2.17/buildconf.bat
./centos.sh: line 366: patch: command not found
./centos.sh: line 368: wget: command not found
./centos.sh: line 369: php-5.2.17-max-input-vars.patch: 没有那个文件或目录
Forcing buildconf
./buildconf: line 41: make: command not found
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
./centos.sh: line 372: make: command not found
./centos.sh: line 373: make: command not found
package.xml
……

memcache-3.0.6/memcache.php
./centos.sh: line 386: /usr/local/php/bin/phpize: 没有那个文件或目录
./centos.sh: line 387: ./configure: 没有那个文件或目录
./centos.sh: line 388: make: command not found
./centos.sh: line 392: /usr/local/php/bin/phpize: 没有那个文件或目录
./centos.sh: line 393: ./configure: 没有那个文件或目录
./centos.sh: line 394: make: command not found
./centos.sh: line 410: wget: command not found
ZendOptimizer-3.3.9-linux-glibc23-x86_64/
.......


checking for C compiler ... not found

./configure: error: C compiler gcc is not found

./centos.sh: line 461: make: command not found
cp: 无法创建普通文件"/usr/local/nginx/conf/nginx.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/dabr.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/discuz.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/sablog.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/typecho.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/wordpress.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/discuzx.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/none.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/wp2.conf": 没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/phpwind.conf": 没有那个文件或目录
sed:无法读取 /usr/local/nginx/conf/nginx.conf:没有那个文件或目录
cp: 无法创建普通文件"/usr/local/nginx/conf/fcgi.conf": 没有那个文件或目录
============================nginx install completed=================================

.......


============================phpMyAdmin install completed=================================
============================add nginx and php-fpm on startup============================
Download new nginx init.d file......
./centos.sh: line 514: wget: command not found
在 mysql 服务中读取信息时出错:没有那个文件或目录
===========================add nginx and php-fpm on startup completed====================
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-9-1 23:14:04 | 显示全部楼层

日志



  附件还不支持 .7z

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-9-2 09:21:35 | 显示全部楼层

Loaded plugins: fastestmirror
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
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'"

源地址解析不出来,可能是/etc/reslov.conf 里的dns设置有问题
可以将里面 的内容替换为:
nameserver 8.8.8.8
nameserver 8.8.4.4
后再试试
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 20:48 , Processed in 0.026587 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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