wanghaidong4530 发表于 2012-6-12 10:20:44

安装LNMP不成功,请大家看一下原因!急!急!

系统是CentOS(RHEL )V6.10企业版,32位。报:Error: /usr/local/mysql not found!!!

licess 发表于 2012-6-12 10:57:29

checking for termcap functions library... configure: error: No curses/termcap library found

这个的依赖包没装上。yum install ncurses-devel 后再试试

wanghaidong4530 发表于 2012-6-12 13:40:37

安装依赖包后还是不行!

应该又有新的错误,请军歌再看看日志。我看网上说:把mysql收到安装到/usr/local/目录下就可以了。但我安装mysql.rpm后提示不能修改安装路径(命令:rpm -ivh --prefix=/usr/local/ /MySQL-shared-5.5.25-1.el6.i686.rpm
)。不知军哥知道原因不?

licess 发表于 2012-6-12 14:36:08

../depcomp: line 571: exec: g++: not found
make: *** Error 127
make: Leaving directory `/root/lnmp0.8-full/mysql-5.1.60/mysys'
make: *** Error 1

g++ 没安装上
rpm安装的mysql无法和php结合

yum install gcc-c++ 安装,建议删除lnmp目录,重新解压安装

wanghaidong4530 发表于 2012-6-12 15:40:05

安装完成后 提示php-fpm is stop!

军哥,安装后提示如下信息:
Nginx is runing!
php-fpm is stop!
SUCCESS! MySQL running (24732)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State      
tcp      0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:44758               0.0.0.0:*                   LISTEN      
tcp      0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:3690                0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:111               0.0.0.0:*                   LISTEN      
tcp      0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      
tcp      0      0 :::22                     :::*                        LISTEN      
tcp      0      0 ::1:631                     :::*                        LISTEN      
tcp      0      0 :::39085                  :::*                        LISTEN      
tcp      0      0 :::111                      :::*                        LIS


安装结束后提示php-fpm is stop!,原因是啥?应该提示php-fpm is stop is runing 。目前算是安装成功吗?

wanghaidong4530 发表于 2012-6-12 16:45:27

php没有安装成功!

usr/local/php/文件夹下只有两个文件,php-fpm.conf,php.ini,再无其它文件。
我安装的是lnmp8.0-full 版。
我是不是少安装了很多的依赖包呀?下一步需要怎么做,求解?

licess 发表于 2012-6-12 17:45:54

checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
    easy.h should be in <curl-dir>/include/curl/

yum install curl curl-devel 后,按脚本手动configure make make install
页: [1]
查看完整版本: 安装LNMP不成功,请大家看一下原因!急!急!