Created
September 18, 2009 15:39
-
-
Save tpitale/189115 to your computer and use it in GitHub Desktop.
In Place NGINX upgrade
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
| curl -O http://sysoev.ru/nginx/nginx-0.7.62.tar.gz | |
| tar zxvf nginx-0.7.62.tar.gz | |
| cd nginx-0.7.62 | |
| sudo /usr/local/nginx/sbin/nginx -V | |
| ./configure --with-http_ssl_module --add-module=/usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/nginx | |
| sudo make install clean | |
| OLDPID=`cat /usr/local/nginx/logs/nginx.pid` | |
| sudo kill -USR2 $OLDPID | |
| sudo kill -WINCH $OLDPID | |
| sudo kill -QUIT $OLDPID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment