ubuntu20.04编译安装nginx1.19.4 带rtmp带req_status

1.

    http://nginx.org/en/download.html

    https://github.com.cnpmjs.org/zls0424/ngx_req_status

    https://github.com.cnpmjs.org/arut/nginx-rtmp-module

ngx_req_status-master.zip

nginx-rtmp-module-master.zip

nginx-1.19.4.tar.gz


2.

apt install openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev make

3.

patch -p1 < /home/kn/ngx_req_status/ngx_req_status-master/write_filter-1.7.11.patch

./configure --prefix=/usr/local/nginx \
    --with-http_ssl_module  \
    --http-client-body-temp-path=/usr/local//nginx/temp/client_body_temp   \
    --http-proxy-temp-path=/usr/local//nginx/temp/proxy_temp   \
    --http-fastcgi-temp-path=/usr/local/nginx/temp/fastcgi_temp   \
    --http-uwsgi-temp-path=/usr/local/nginx/temp/uwsgi_temp   \
    --http-scgi-temp-path=/usr/local/nginx/temp/scgi_temp \
    --add-module=../ngx_req_status-master/ \
    --add-module=../nginx-rtmp-module-master/ \
    --with-cc-opt="-Wimplicit-fallthrough=0"
    
    
make -j2

make install


打赏

看恩吧
网站不承担任何有关评论的责任
  • 最新评论
  • 总共条评论
取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦