boysky85 发表于 2012-9-1 23:09:54

LNMP0.9 centos x64安装出错

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====================

boysky85 发表于 2012-9-1 23:14:04

日志

附件还不支持 .7z

licess 发表于 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/?release=6&arch=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
后再试试
页: [1]
查看完整版本: LNMP0.9 centos x64安装出错