VPS侦探论坛

 找回密码
 注册
查看: 4402|回复: 4

nginx 如何把已经安装的ngnix安装多一个–with-http_ssl_module

[复制链接]
发表于 2016-11-21 15:02:19 | 显示全部楼层 |阅读模式

如题,现在,nginx版本是nginx/1.10.1OpenSSL 1.0.1e-fips 11 Feb 2013 也安装了
想要用https,所以要按装with-http_ssl_module,具体要怎么操作!用的是lnmp安装的,不过安装包删掉了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-11-21 15:29:21 | 显示全部楼层


Download nginx-1.11.6.tar.gz successfully!
============================check files==================================
Uncompress nginx-1.11.6.tar.gz...
cd nginx-1.11.6...
./configure: error: invalid option "–with-http_ssl_module"
make: *** 没有指明目标并且找不到 makefile。 停止。
cp: 无法获取"objs/nginx" 的文件状态(stat): 没有那个文件或目录
Test nginx configure file...
include/upgrade_nginx.sh:行58: /usr/local/nginx/sbin/nginx: 没有那个文件或目录
upgrade...
make: *** 没有规则可以创建目标“upgrade”。 停止。
======== upgrade nginx completed ======
Program will display Nginx Version......
include/upgrade_nginx.sh:行65: /usr/local/nginx/sbin/nginx: 没有那个文件或目录
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-11-21 15:34:59 | 显示全部楼层

升级的时候报了这个错
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-11-21 15:39:39 | 显示全部楼层



解决了,字数呀,字数呀
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-11-21 16:50:46 | 显示全部楼层

是--不是–

而且lnmp的默认都是编译安装的

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-28 11:12 , Processed in 0.026325 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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