1.目录结构
|
|----------nginx-1.7.3
|----------nginx-rtmp-module(https://github.com/arut/nginx-rtmp-module)
|----------zlib-1.2.8
|----------openssl+openssl-devel
2.compile编译
root /home/qlive/nginx # cd nginx-1.7.3
root /home/qlive/nginx # ./configure --add-module=../nginx-rtmp-module-master --with-http_flv_module --with-http_ssl_module && make
root /home/qlive/nginx # .sudo make install
root /home/qlive/nginx # cd /usr/local/nginx/sbin
root /home/qlive/nginx # sudo ./nginx -s reload