Skip to content

Instantly share code, notes, and snippets.

@willnet
Last active December 10, 2015 09:18
Show Gist options
  • Save willnet/4413220 to your computer and use it in GitHub Desktop.
Save willnet/4413220 to your computer and use it in GitHub Desktop.
nginx install script for sakura vps
sudo yum install pcre-devel
wget http://nginx.org/download/nginx-1.2.6.tar.gz
tar zxvf nginx-1.2.6.tar.gz
cd nginx-1.2.6
./configure --with-openssl=/usr/lib64/openssl/engines
make
sudo make install
git clone git://gist.github.com/4406334.git
sudo mv 4406334/nginx /etc/init.d/
sudo chmod 755 /etc/init.d/nginx
sudo chkconfig nginx on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment