Skip to content

Instantly share code, notes, and snippets.

@cwonrails
Last active August 9, 2017 19:31
Show Gist options
  • Save cwonrails/312773f1ea8a853a5ae3b076cb44d94b to your computer and use it in GitHub Desktop.
Save cwonrails/312773f1ea8a853a5ae3b076cb44d94b to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
### Ubuntu Xenial ###
## Docker ##
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
## Git ##
sudo add-apt-repository ppa:git-core/ppa
## MariaDB ##
# sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
# sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu xenial main'
## Node.js ##
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
## nginx ##
wget http://nginx.org/keys/nginx_signing.key | sudo apt-key add
echo deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx | sudo tee /etc/apt/sources.list.d/nginx.list
echo deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx | sudo tee /etc/apt/sources.list.d/nginx.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment