美文网首页
nginx搭建

nginx搭建

作者: OnlyRose | 来源:发表于2017-12-03 15:53 被阅读10次

sudo apt-get install libssl-dev

sudo apt-get install libpcre3 libpcre3-dev

sudo apt-get install openssl libssl-dev

sudo apt-get install zlib1g-dev

sudo apt-get install git

sudo apt-get install wget

cd /root

mkdir rtmp

cd rtmp

git clone https://github.com/arut/nginx-rtmp-module.git

wget http://nginx.org/download/nginx-1.13.3.tar.gz

tar -zxvf nginx-1.13.3.tar.gz

cd nginx*

./configure --add-module=/root/rtmp/nginx-rtmp-module

make

make install

cd /usr/local/nginx/sbin/

./nginx

http://192.168.32.128/

相关文章

网友评论

      本文标题:nginx搭建

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