Skip to content

Installing on Ubuntu using PPAs

Serhiy edited this page Nov 4, 2019 · 11 revisions

sudo apt-get install dpkg-dev

sudo apt-get source nginx

cd /usr/src/nginx

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

cd nginx-[version-number]

sudo vi debian/rules

Edit the rules and at the end of the add-modules configuration string add --add-module=/usr/src/nginx/nginx-rtmp-module \

If installing for the first time build nginx dependencies.

sudo apt-get build-dep nginx

sudo dpkg-buildpackage -b -uc -us (This command generates an unsigned deb files for local use.)

(wait for a while while it builds... a really long while... like you might want to go grab a meal)

cd .. && sudo dpkg --install nginx-common_1.3.13-1chl1~quantal1_all.deb nginx-full_1.3.13-1chl1~quantal1_amd64.deb

sudo service nginx status

sudo service nginx start if nginx isn't running.

Source

Clone this wiki locally