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
version_number is the version you have downloaded (for example,
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.
To build Nginx, run the
./configure script in the directory just created. ...