Linux下安装Nginx+rtmp模块

sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev
wget http://nginx.org/download/nginx-1.9.2.tar.gz
wget https://github.com/arut/nginx-rtmp-module/archive/master.zip
unzip master.zip
tar -zxvf nginx-1.9.2.tar.gz


cd nginx-1.9.2
./configure –with-http_ssl_module –add-module=../nginx-rtmp-module-master
make
sudo make install

你可能感兴趣的:(Linux下安装Nginx+rtmp模块)