August 2017
Intermediate to advanced
278 pages
8h 53m
English
On Ubuntu/Debian, install the required build tools:
apt-get install devscripts
This will install quite a few packages on your system, so if you're trying to keep your production environment lean, then I'd recommend that you use a separate build box to complete this.
We can now install the build prerequisites for NGINX:
apt-get build-dep nginx
Once you have the required build dependencies, we can now get a copy of the source code. Again, rather than the plain TAR file, we're going to get the packaged variant so that we can easily build them. Here's how we do it:
mkdir ~/nginxbuildcd ~/nginxbuildapt-get source nginx
You should now have a directory with the original TAR file, the Debian description, and any Debian specific patches. ...
Read now
Unlock full access