Created
February 15, 2011 20:51
-
-
Save pmamediagroup/828218 to your computer and use it in GitHub Desktop.
Updating Nginx
This file contains 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
The first step is to make sure you have ruby installed. Then gem install passenger | |
If you're upgrading mothership, download the Nginx-upload-module. Otherwise, just ignore all instructions regarding it. | |
http://www.grid.net.ru/nginx/upload.en.html (scroll almost to the bottom or search for Download) | |
extract that into whatever directory you want | |
download and extract Nginx source http://nginx.org/ | |
run the passenger install script (passenger-install-nginx-module) | |
tell passenger you want to compile nginx from source. You'll want to do the following: | |
- tell it to install nginx in /opt/nginx | |
- tell it to install the nginx-upload-module (as well as where the source for that is) | |
I think that's about it. Be sure not to lose the current config files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment