Skip to content

Instantly share code, notes, and snippets.

@DiegoRBaquero
Created December 24, 2016 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiegoRBaquero/9d475341f7cc30445b69b1e74352d938 to your computer and use it in GitHub Desktop.
Save DiegoRBaquero/9d475341f7cc30445b69b1e74352d938 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 with latest NodeJS 6 & latest nginx
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