Compile NGIX from source on Ubuntu
Updated
To Compile NGINX from source on Ubuntu, just follow these steps.
cp /home/rmunn/nginx-1.5.6, pcre-8.33, openssl-1.0.1e, zlib-1.2.8
folders to new server
sudo ./configure --with-openssl=/home/rmunn/openssl-1.0.1g --with-pcre=/home/rmunn/pcre-8.33 --with-pcre-jit --with-zlib=/home/rmunn/zlib-1.2.8 --with-http_ssl_module --with-http_gzip_static_module
sudo make
sudo make install
As a pre-requisite, you will need to install build tools if you have not done so:
sudo apt-get install build-essentials