美文网首页
OpenResty-nginx-lua-rtmp

OpenResty-nginx-lua-rtmp

作者: DEDE514 | 来源:发表于2022-08-25 18:05 被阅读0次

1、环境

yum install pcre-devel openssl-devel gcc curl

wget https://openresty.org/download/openresty-1.15.8.1.tar.gz

tar -zxvf openresty-1.15.8.1.tar.gz -C /usr/local/

wget https://github.com/arut/nginx-rtmp-module/archive/master.zip

uzip master.zip

cd/usr/local/openresty-1.15.8.1/

./configure --add-module=/usr/local/nginx-rtmp-module-master/ --with-debug --with-http_mp4_module --with-http_flv_module

make

make install

nginx操作

#启动服务

cd /usr/local/openresty/nginx/sbin/

 ./nginx

#重启服务

 ./nginx -s reload

#停止服务

./nginx -s stop

#查看Nginx是否启动

 ps -ef|grep nginx

相关文章

网友评论

      本文标题:OpenResty-nginx-lua-rtmp

      本文链接:https://www.haomeiwen.com/subject/zlfxnrtx.html