-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Installing on Ubuntu using PPAs
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.