Skip to content

Instantly share code, notes, and snippets.

View joselitosn's full-sized avatar

Vinicios R. Portella joselitosn

View GitHub Profile
@joselitosn
joselitosn / install_nginx.sh
Last active December 25, 2015 07:19
Installing nginx + PHP-FPM from source into a Ubuntu 12.04.3 Box - NOT FOR PRODUCTION - Intended to be a minimal version to run DokuWiki - WORK IN PROGRESS
apt-get install build-essential libpcre3-dev libssl-dev zlib1g-dev
cd /opt/
wget http://nginx.org/download/nginx-1.5.6.tar.gz
tar -zxvf nginx-1.5.6.tar.gz
cd /opt/nginx-1.5.6/
./configure --prefix=/opt/nginx --user=nginx --group=nginx --with-http_ssl_module
make
make install
adduser --system --no-create-home --disabled-login --disabled-password --group nginx