当前位置:论坛首页 > Linux面板 > 求助

【求助】宝塔集成Nginx-Tengine模块http_concat_module如何开启

发表在 Linux面板2017-11-6 22:18 [复制链接] 8 5752

本帖最后由 星辰blog 于 2017-11-6 22:19 编辑

问题描述

宝塔5.3.0正式版

已安装   Nginx-Tengine2.2 (极速安装)


如何开启ngx_http_concat_module模块?
Nginx-Tengine官网对http_concat_module模块的描述


http://tengine.taobao.org/document_cn/http_concat_cn.html



使用道具 举报 只看该作者 回复
发表于 2017-11-7 11:02:22 | 显示全部楼层
执行以下三条命令
  1. cd /www/server/nginx/src
  2. ./configure --user=www --group=www --prefix=/www/server/nginx --with-openssl=/www/server/nginx/src/openssl --add-module=/www/server/nginx/src/ngx_cache_purge --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_gunzip_module --with-ipv6 --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-http_concat_module --with-ld-opt="-Wl,-E"
  3. make && make install
复制代码


或者等明天更新 到时卸载重装就好
然后重启tengine就好了
使用道具 举报 回复 支持 反对
发表于 2019-3-6 11:07:05 | 显示全部楼层
执行后  再重启 tengine 提示 QQ图片20190306110554.png
使用道具 举报 回复 支持 反对
发表于 2019-8-9 17:52:40 | 显示全部楼层
河妖 发表于 2017-11-7 11:02
执行以下三条命令

请问 出现此错误怎么办 ./configure: error: invalid option "--with-http_concat_module"
使用道具 举报 回复 支持 反对
发表于 2019-12-19 00:04:03 | 显示全部楼层
心死 发表于 2019-8-9 17:52
请问 出现此错误怎么办 ./configure: error: invalid option "--with-http_concat_module"

这个问题Nginx-Tengine2.2.4也遇到了,宝塔上搜到3个相关的,官方也回复,也都没有详细解读。

拿来宝塔练手,找到了--add-module=/www/server/nginx/src/nginx-http-concat这样就解决了,模块内置了,但默认没有开启。直接--with-http_concat_module就会出现./configure: error: invalid option "--with-http_concat_module"。

哎,我,小白来练手
使用道具 举报 回复 支持 反对
发表于 2019-12-19 00:06:03 | 显示全部楼层
ok 我用这种方法完美解决。等他审核通过你们就能看到了。
使用道具 举报 回复 支持 反对
发表于 2020-1-10 09:37:46 | 显示全部楼层
宝塔用户_gjbaps 发表于 2019-12-19 00:06
ok 我用这种方法完美解决。等他审核通过你们就能看到了。

请问可否给出一个完整成功的教程,本人纯小白,谢谢各位大佬
使用道具 举报 回复 支持 反对
发表于 2020-6-23 14:10:12 | 显示全部楼层
本帖最后由 用户dfgsgsregh 于 2022-4-26 09:06 编辑
Lopin 发表于 2020-1-10 09:37
请问可否给出一个完整成功的教程,本人纯小白,谢谢各位大佬

就是把里面的“--with-http_concat_module”替换为“--add-module=/www/server/nginx/src/nginx-http-concat”,rf
这是我安装的教程
//iqqoz.com/post-2987.html



使用道具 举报 回复 支持 反对
发表于 2020-7-21 18:03:55 | 显示全部楼层
用户dfgsgsregh 发表于 2020-6-23 14:10
就是把里面的“--with-http_concat_module”替换为“--add-module=/www/server/nginx/src/nginx-http-conc ...

好的,非常感谢,学习一下
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表