Created
June 8, 2019 14:36
-
-
Save peerasan/4a29e07dcd30708fe737e45005e0fc92 to your computer and use it in GitHub Desktop.
compile nginx + rtmp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #compile nginx | |
| apt-get install build-essential libpcre3 libpcre3-dev libssl-dev | |
| mkdir /root/src | |
| cd /root/src | |
| wget https://nginx.org/download/nginx-1.13.8.tar.gz | |
| tar -xvf nginx-1.13.8.tar.gz | |
| cd nginx-1.13.8 | |
| ./configure | |
| make | |
| make install | |
| ######################################## | |
| #compile nginx-rtmp | |
| mkdir /root/src | |
| cd /root/src | |
| wget https://github.com/arut/nginx-rtmp-module/archive/v1.2.1.tar.gz | |
| tar -xvf v1.2.1.tar.gz | |
| cd /root/src/nginx-1.13.8 | |
| ./configure --add-module=/root/src/nginx-rtmp-module-1.2.1 \ | |
| --with-http_ssl_module \ | |
| --http-fastcgi-temp-path=fastcgi \ | |
| --without-http_gzip_module \ | |
| --prefix=/usr/local/nginx-streaming/ | |
| make | |
| make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment