Last active
August 29, 2015 14:18
-
-
Save ledil/26cdbb5d41dccade3a6e to your computer and use it in GitHub Desktop.
nginx + nginx-push-stream-module
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
| $ sudo add-apt-repository -y ppa:nginx/stable | |
| $ sudo apt-get update | |
| $ cat /etc/apt/sources.list.d/nginx-stable-trusty.list | |
| deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main | |
| deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main | |
| $ sudo apt-get update | |
| $ sudo apt-get install -y dpkg-dev | |
| $ sudo mkdir /opt/rebuildnginx | |
| $ cd /opt/rebuildnginx | |
| $ sudo apt-get source nginx | |
| $ sudo apt-get build-dep nginx | |
| $ cd nginx-1.x.x/debian/modules | |
| $ curl -L https://github.com/wandenberg/nginx-push-stream-module/tarball/master | sudo tar zx | |
| $ mv wandenberg-nginx-push-stream-module-71c511d nginx-push-stream-module | |
| $ vi nginx-1.x.x/debian/rules | |
| common_configure_flags .... | |
| --add-module=$(MODULESDIR)/nginx-push-stream-module | |
| $ vi debug/changelog -> add user/email and change version | |
| $ dpkg-buildpackage -S | |
| for Binary: | |
| $ dpkg-buildpackage -b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment