Skip to content

Instantly share code, notes, and snippets.

@veapon
Created March 4, 2015 13:57
Show Gist options
  • Save veapon/ea887942463afc26acf6 to your computer and use it in GitHub Desktop.
Save veapon/ea887942463afc26acf6 to your computer and use it in GitHub Desktop.
nginx compile shell
yum -y install pcre pcre-devel openssl openssl-devel
groupadd nginx
useradd -M -s /bin/false -g nginx nginx
./configure --prefix=/servers/nginx --user=nginx --group=nginx --with-http_ssl_module
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment