as root:
aptitude install build-essential git
apt-get build-dep nginx-full

as normal user:
mkdir build
cd build
apt-get source nginx-full
cd nginx-*/debian/modules
git clone git://github.com/arut/nginx-rtmp-module.git
cd ..
vi rules
## put this at the end of full_configure_flags:
## --add-module=$(MODULESDIR)/nginx-rtmp-module
cd ..
FLAVOURS=full dpkg-buildpackage -b
cd ..

as root:
dpkg -i nginx-common_*.deb nginx-full_*.deb

under Ubuntu 18.04:

as root:
aptitude install build-essential git fakeroot
apt-get build-dep nginx-full

as normal user (su - tdobes):
mkdir /tmp/build
cd /tmp/build
apt-get source nginx-full
cd nginx-*/debian/modules
git clone git://github.com/arut/nginx-rtmp-module.git
cd ..
vi rules
## put this at the end of full_configure_flags:
## --add-module=$(MODULESDIR)/nginx-rtmp-module
cd ..
FLAVOURS=full dpkg-buildpackage -b
cd ..

as root:
cd /tmp/build
dpkg -i nginx-common_*.deb nginx-full_*.deb libnginx-mod-http-auth-pam_*.deb libnginx-mod-http-dav-ext_*.deb libnginx-mod-http-echo_*.deb libnginx-mod-http-geoip_*.deb libnginx-mod-http-image-filter_*.deb libnginx-mod-http-subs-filter_*.deb libnginx-mod-http-upstream-fair_*.deb libnginx-mod-http-xslt-filter_*.deb libnginx-mod-mail_*.deb libnginx-mod-stream_*.deb
cd -
computer/building_nginx_debian_package_with_rtmp.txt · Last modified: 2018/12/28 15:56 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS