Created
December 24, 2016 18:23
-
-
Save DiegoRBaquero/9d475341f7cc30445b69b1e74352d938 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 with latest NodeJS 6 & latest nginx
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
apt-get update && apt-get upgrade | |
# Latest LTS NodeJS Repo | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
# Latest nginx repo | |
echo "deb http://nginx.org/packages/ubuntu/ xenial nginx" >> /etc/apt/sources.list.d/nginx.list | |
echo "deb-src http://nginx.org/packages/ubuntu/ xenial nginx" >> /etc/apt/sources.list.d/nginx.list | |
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 | |
# Install | |
apt-get install nodejs nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment