[root@VM-8-6-centos nginx-1.24.0]# ./configure --add-module=/www/server/nginx_mod_h264_streaming-2.2.7[root@VM-8-6-centos nginx-1.24.0]# make[root@VM-8-6-centos nginx-1.24.0]# make install 编译后将编译包下objs下nginx 替换nginx安装目录下sbin里的nginx 四、nginx的配置 rtmp { ser...
到https://github.com/arut/nginx-rtmp-module下载:nginx-rtmp-module.1.1.4.tar.gz 然后拷贝到/usr/local/RTMP tar -zxvf nginx-rtmp-module.1.1.4.tar.gz 2.3,编译安装包含 nginx-rtmp-module模块的nginx 2.3.1,进入nginx-1.8.1源码目录 依次执行以下命令运行: ./configure--prefix=/usr/local/nginx--ad...
nginx-rtmp-module的官方github地址:https://github.com/arut/nginx-rtmp-module 使用命令: gitclonehttps://github.com/arut/nginx-rtmp-module.git 下载nginx并解压 nginx的官方网站为:http://nginx.org/en/download.html wgethttp://nginx.org/download/nginx-1.8.1.tar.gztar-zxvfnginx-1.8.1.tar.gz (2...
3. 安装依赖库 为了支持RTMP模块,我们需要安装一些依赖库: sudoyum install -y pcre pcre-devel zlib zlib-devel openssl openssl-devel 4. 下载编译 Nginx with RTMP 模块 cd~wgethttp://nginx.org/download/nginx-1.18.0.tar.gz...
gitclonehttps://github.com/arut/nginx-rtmp-module.git 2、安装nginx并加上nginx-rtmp-module模块 wget http://nginx.org/download/nginx-1.8.1.tar.gz tar-zxvf nginx-1.8.1.tar.gz cd nginx-1.8.1./configure--prefix=/usr/local/nginx--add-module=../nginx-rtmp-module--with-http_s...
4. 下载编译 Nginx with RTMP 模块 cd ~ wget http://nginx.org/download/nginx-1.18.0.tar.gz tar -zxvf nginx-1.18.0.tar.gz cd nginx-1.18.0 # 下载 nginx-rtmp-module git clone https://github.com/arut/nginx-rtmp-module.git # 编译安装 ...
下载模块路径地址为:/home/www/build/nginx-rtmp-module 编译 进入OpenResty 目录 代码语言:javascript 复制 cd openresty-1.19.3.1 编译 代码语言:javascript 复制 ./configure --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -O3' \ --with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib...
安装需要的配置(直接添加rtmp模块的话会报错并提示这两个依赖库) yum -y install pcre yum -y install openssl openssl-devel cd nginx-1.24.0 ./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-pcre --with-file-...
git clone https://github.com/arut/nginx-rtmp-module.git 1. 下载模块路径地址为:/home/www/build/nginx-rtmp-module 编译 进入OpenResty 目录 复制 cd openresty-1.19.3.1 1. 编译 复制 ./configure --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -O3' \ --with-ld-opt=-Wl,-rpath,/...
4. 下载编译 Nginx with RTMP 模块 代码语言:javascript 复制 cd~wget http://nginx.org/download/nginx-1.18.0.tar.gz tar-zxvf nginx-1.18.0.tar.gz cd nginx-1.18.0# 下载 nginx-rtmp-module git clone https://github.com/arut/nginx-rtmp-module.git ...