Skip to content

Instantly share code, notes, and snippets.

@kreeger
Last active January 26, 2019 17:20
Show Gist options
  • Save kreeger/559d16f8bd0f175f403b56fb11070136 to your computer and use it in GitHub Desktop.
Save kreeger/559d16f8bd0f175f403b56fb11070136 to your computer and use it in GitHub Desktop.
Future machine setup. Run as root.
# Update apt and such
apt update
apt upgrade -y
apt dist-upgrade -y
# Add apt keys
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -
wget -q https://download.sublimetext.com/sublimehq-pub.gpg -O- | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE stable"
add-apt-repository "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $RELEASE contrib"
echo "deb https://download.sublimetext.com/ apt/stable/" | tee /etc/apt/sources.list.d/sublime-text.list
add-apt-repository ppa:graphics-drivers/ppa
apt update
# Install things via apt
apt install -y apt-transport-https autoconf automake ca-certificates build-essential default-jdk default-jre \
docker-ce gnupg gnupg2 gpg neovim nvidia-driver-410 openssl p7zip shairport-sync \
software-properties-common sublime-text virtualbox-6.0 vulkan-tools wget zsh
# Install Docker Machine
curl -L https://github.com/docker/compose/releases/download/1.24.0-rc1/docker-compose-`uname -s`-`uname -m` \
-o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
# Install Docker Compose
base=https://github.com/docker/machine/releases/download/v0.16.0 && \
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine && \
install /tmp/docker-machine /usr/local/bin/docker-machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment