Created
March 17, 2014 16:49
-
-
Save bagf/9603191 to your computer and use it in GitHub Desktop.
Installs Nginx apt source and downloads it
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
# Update apt | |
echo "Update apt..." | |
apt-get -q=2 update | |
# Add official nginx source | |
apt-get install -q=2 python-software-properties | |
echo "Installing official Nginx source..." | |
nginx=stable | |
add-apt-repository -y ppa:nginx/$nginx | |
apt-get -q=2 update | |
# Install nginx | |
echo "Installing Nginx..." | |
apt-get install -q=2 nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment