Building the Source Yourself

You can download the source directly from http://wiki.nginx.org/Install.

After you have the tar file, you must open it in a temporary directory, such as /tmp. Opening this tar file creates a directory called nginx_version_number, where version_number is the version you have downloaded (for example, nginx_1.4.4).

Tip

As with many software packages distributed in source code form for Linux and other UNIX-like operating systems, extracting the source code results in a directory that contains a README and an INSTALL file. Be sure to peruse the INSTALL file before attempting to build and install the software.

Using ./configure to Build Nginx

To build Nginx, run the ./configure script in the directory just created. ...

Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.