Skip to content

Instantly share code, notes, and snippets.

@plusplus
Created May 31, 2012 10:10
Show Gist options
  • Save plusplus/2842410 to your computer and use it in GitHub Desktop.
Save plusplus/2842410 to your computer and use it in GitHub Desktop.
Install Nginx Ubuntu 10.4
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