Skip to content

Installing via Build

ispyisail edited this page Apr 19, 2017 · 18 revisions

Download, Build and Install

Create Build Directory

 cd ~
 sudo mkdir nginx
 cd nginx

Build Utilities

 sudo apt-get install git gcc make libpcre3-dev libssl-dev

Download & unpack latest nginx-rtmp

 sudo git clone git://github.com/arut/nginx-rtmp-module.git

Download & unpack nginx

 sudo wget http://nginx.org/download/nginx-1.12.0.tar.gz
 sudo tar xzf nginx-1.12.0.tar.gz
 cd nginx-1.12.0

Build nginx with nginx-rtmp

 sudo ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module
 sudo make
 sudo make install

Start nginx Server

 sudo /usr/local/nginx/sbin/nginx
Clone this wiki locally