Skip to content

Instantly share code, notes, and snippets.

sudo su -
# stuff we need to build from source
apt-get install libpcre3-dev build-essential libssl-dev
# get the nginx source
cd /opt/
wget http://nginx.org/download/nginx-1.4.1.tar.gz
tar -zxvf nginx*
rm /opt/nginx-1.4.1.tar.gz