VPS侦探论坛

 找回密码
 注册
查看: 5829|回复: 3

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

[复制链接]
发表于 2014-12-14 18:20:17 | 显示全部楼层 |阅读模式

系统版本: 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没有安装,但手动安装以后还是不行。最后的错误代码。附件为整个安装过程日志。
多谢。


日志如下:


./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...

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-12-14 19:07:58 | 显示全部楼层


看日志openssl-devel已经安装上了,可能nginx没找到
find / -name openssl 看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2014-12-15 12:08:06 | 显示全部楼层

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


  1. [root@iZ23ffz82quZ ~]# find / -name openssl
  2. /usr/lib64/openssl
  3. /usr/lib/openssl
  4. /usr/bin/openssl
  5. /chroot/bak/lnmp1.1-full/php-5.3.28/ext/openssl
  6. /chroot/bak/lnmp1.1-full/nginx-1.6.0/auto/lib/openssl
  7. /chroot/bak/lnmp1.1-full/mysql-5.5.37/extra/yassl/include/openssl
  8. /chroot/bak/openssl-0.9.8c/lnmp1.1-full/php-5.3.28/ext/openssl
  9. /chroot/bak/openssl-0.9.8c/lnmp1.1-full/nginx-1.6.0/auto/lib/openssl
  10. /chroot/bak/openssl-0.9.8c/lnmp1.1-full/mysql-5.5.37/extra/yassl/include/openssl
  11. /chroot/bak/openssl-0.9.8c/include/openssl
  12. [root@iZ23ffz82quZ ~]#
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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
再看一下,或重启后试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-17 14:26 , Processed in 0.027029 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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