VPS侦探论坛

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

安装失败,nginx is stop 求助

[复制链接]
发表于 2010-11-19 07:04:18 | 显示全部楼层 |阅读模式

新手上路,安装失败,提示nginx is stop  
/root/lnmp:line 88:/etc/init.d/mysql:No such file ro directory

向各位请教,安装lnmp需要哪些条件,我在安装初始好像看到缺少什么gcc包什么的


单独编译安装nginx时,
./configure:errror:the HTTP cache module requires md5 functions
from OpenSSl library. You can either disable the module by using
--without-http-cache option,or install the OpenSSL library into the system,or build the OpenSSl library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.


看这个,是需要安装openssl?

[ 本帖最后由 jjsly 于 2010-11-19 07:13 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-11-19 09:45:18 | 显示全部楼层


错误提示:./configure: error: the HTTP cache module requires md5 functions
from OpenSSL library.  You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.

解决办法:

yum -y install openssl openssl-devel



安装完openssl之后,问题依旧,求高手解决
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-11-19 09:52:22 | 显示全部楼层

回复 1# 的帖子


openssl 没有安装成功。
lnmp会在开始的时候就会自动安装所需的库,可能因为未知原因没有安装上。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-11-19 10:48:45 | 显示全部楼层



那看来是因为缺少gcc的问题,我来安装上所有的gcc



如何安装所有的gcc文件?求指点。这个跟系统有关系么,我用的是RedHat5.5.,不是centos。全新安装的系统。

[ 本帖最后由 jjsly 于 2010-11-19 11:31 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-10-26 03:33 , Processed in 0.026462 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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