Skip to content

Instantly share code, notes, and snippets.

@nooitaf
Created August 5, 2015 04:35
Show Gist options
  • Save nooitaf/8252e29fcd24f499d9c2 to your computer and use it in GitHub Desktop.
Save nooitaf/8252e29fcd24f499d9c2 to your computer and use it in GitHub Desktop.
nginx + nginx-rtmp install from source ubuntu
#!/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