Created
August 5, 2015 04:35
-
-
Save nooitaf/8252e29fcd24f499d9c2 to your computer and use it in GitHub Desktop.
nginx + nginx-rtmp install from source ubuntu
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
#!/bin/bash | |
apt-get install unzip | |
cd ~ | |
# fetch nginx | |
wget https://github.com/nginx/nginx/archive/release-1.9.3.zip | |
unzip release-1.9.3.zip nginx-release-1.9.3/* | |
# fetch rtmp module | |
wget https://github.com/arut/nginx-rtmp-module/archive/v1.1.7.zip | |
unzip v1.1.7.zip nginx-rtmp-modulev-1.1.7/* | |
# build dependencies | |
apt-get install build-essential | |
apt-get install libpcre3-dev libpcre++-dev libssl-dev zlib1g-dev libncurses5-dev | |
# build | |
cd nginx-release-1.9.3/ | |
./auto/configure --add-module=../nginx-rtmp-module-1.1.7/ --with-http_ssl_module | |
make | |
checkinstall | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment