xianglingchuan 发表于 2014-12-14 18:20:17

LNMP安装不成功-以前安装过四五台都可以的

系统版本: Linux version 2.6.18-308.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52))
安装的是: CentOS系统下执行:wget -c http://soft.vpser.net/lnmp/lnmp1.1-full.tar.gz && tar zxf lnmp1.1-full.tar.gz && cd lnmp1.1-full && ./centos.sh


最选以为是OpenSSL没有安装,但手动安装以后还是不行。最后的错误代码。附件为整个安装过程日志。
多谢。:handshake


日志如下:


./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.


make: *** No rule to make target `build', needed by `default'.Stop.
ln: creating symbolic link `/usr/bin/nginx' to `/usr/local/nginx/sbin/nginx': File exists
cp: cannot create regular file `/usr/local/nginx/conf/nginx.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/dabr.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/discuz.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/sablog.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/typecho.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/wordpress.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/discuzx.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/none.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/wp2.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/phpwind.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/shopex.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/dedecms.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/drupal.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/ecshop.conf': No such file or directory
cp: cannot create regular file `/usr/local/nginx/conf/pathinfo.conf': No such file or directory
Create PHP Info Tool...
Copy PHP Prober...

licess 发表于 2014-12-14 19:07:58

看日志openssl-devel已经安装上了,可能nginx没找到
find / -name openssl 看一下

xianglingchuan 发表于 2014-12-15 12:08:06

多谢斑主的支持和解答:
openssl显示如下。请问我该如何处理呢?多谢。


# find / -name openssl
/usr/lib64/openssl
/usr/lib/openssl
/usr/bin/openssl
/chroot/bak/lnmp1.1-full/php-5.3.28/ext/openssl
/chroot/bak/lnmp1.1-full/nginx-1.6.0/auto/lib/openssl
/chroot/bak/lnmp1.1-full/mysql-5.5.37/extra/yassl/include/openssl
/chroot/bak/openssl-0.9.8c/lnmp1.1-full/php-5.3.28/ext/openssl
/chroot/bak/openssl-0.9.8c/lnmp1.1-full/nginx-1.6.0/auto/lib/openssl
/chroot/bak/openssl-0.9.8c/lnmp1.1-full/mysql-5.5.37/extra/yassl/include/openssl
/chroot/bak/openssl-0.9.8c/include/openssl
#

licess 发表于 2014-12-15 19:09:58

在lnmp1.1-full/nginx-1.6.0目录下./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-ipv6
再看一下,或重启后试试
页: [1]
查看完整版本: LNMP安装不成功-以前安装过四五台都可以的