Building nginx from Sources on ubuntu

Here describes how to build nginx from source on Ubuntu. 

Install gcc and make tools

Download and extract source codes from page: http://nginx.org/en/download.html

configure and make install:

Errors fix

./configure: error: the HTTP rewrite module requires the PCRE library.

./configure: error: SSL modules require the OpenSSL library.

You will see the “Configuration summary” in the configure stop if no errors occur.

 

Leave a Reply

Your email address will not be published. Required fields are marked *