Last active
August 29, 2015 14:08
-
-
Save bundai223/7f34e36b4bb092dc7c1a to your computer and use it in GitHub Desktop.
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
| #! /bin/bash | |
| wget -O - http://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
| # For nginx mainline | |
| sudo sh -c 'echo "deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx" >> /etc/apt/sources.list' | |
| sudo sh -c 'echo "deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx" >> /etc/apt/sources.list' | |
| sudo apt-get update | |
| sudo apt-get install nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment