Created
May 31, 2012 10:10
-
-
Save plusplus/2842410 to your computer and use it in GitHub Desktop.
Install Nginx Ubuntu 10.4
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
set -u -e | |
echo | |
echo | |
echo | |
echo "--------------------------------------------------------------------------" | |
echo | |
echo "NOW: Installing nginx" | |
echo | |
echo "--------------------------------------------------------------------------" | |
echo | |
echo | |
echo | |
sudo apt-get -y install python-software-properties | |
# use nginx/development for latest development version | |
sudo add-apt-repository ppa:nginx/stable | |
sudo apt-get update | |
sudo apt-get -y install nginx | |
# Remove the default app | |
sudo rm -f /etc/nginx/sites-enabled/default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment