比如nginx-rtmp-module
另外 不开源nginx模块怎么安装?
用apt-get install安装的nginx怎样安装模块?
-
- 帖子: 25
- 注册时间: 2016-02-06 21:54
- 系统: Windows 7
-
- 论坛版主
- 帖子: 5235
- 注册时间: 2007-01-14 16:23
Re: 用apt-get install安装的nginx怎样安装模块?
印象里面apache2的module也是用apt-get安装的,然后包名类似 lib-apache2-*这样的,闭源的不清楚怎么玩
或者你自己编译一个nginx好了,反正不费事,就是大规模部署管理啥的不方便
或者你自己编译一个nginx好了,反正不费事,就是大规模部署管理啥的不方便
#include <stdio.h>
void main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.\n");
}
void main()
{
double world;
unsigned letter;
short stay;
long memories;
printf("I miss you.\n");
}
-
- 帖子: 25
- 注册时间: 2016-02-06 21:54
- 系统: Windows 7
Re: 用apt-get install安装的nginx怎样安装模块?
能不能apt-get source nginx得到ubuntu版nginx源码onlylove 写了:印象里面apache2的module也是用apt-get安装的,然后包名类似 lib-apache2-*这样的,闭源的不清楚怎么玩
或者你自己编译一个nginx好了,反正不费事,就是大规模部署管理啥的不方便
然后cd nginx-1.9.10
最后把nginx-rtmp-module的源码文件放入这个文件夹,最后./configure --add-module=/var/lib/nginx/nginx-rtmp-module --with-http_ssl_module
make
make install
这样可以吗?(不是重新安装,只是加入模块)
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: 用apt-get install安装的nginx怎样安装模块?
http://askubuntu.com/a/346124
You cannot add a module to the already-installed NGINX.
and possible solutions.
You cannot add a module to the already-installed NGINX.
and possible solutions.
-
- 帖子: 5
- 注册时间: 2020-02-29 6:41
- 系统: Ubuntu18
Re: 用apt-get install安装的nginx怎样安装模块?
这个英文文档意思是16.04版本不能加模块,但16.04以上可以的