This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder