Skip to content

Instantly share code, notes, and snippets.

@mogwai
Created April 14, 2020 18:59
Show Gist options
  • Save mogwai/0723f003c90600b05895c5bad104a8be to your computer and use it in GitHub Desktop.
Save mogwai/0723f003c90600b05895c5bad104a8be to your computer and use it in GitHub Desktop.
Setup Box Script
curl -L https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | sh -
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install stable
nvm use stable
npm i -g speed-test
# Install Docker
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
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"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# Bash Aliases
curl -L https://gist.githubusercontent.com/mogwai/84ad957b9d42aa1616b8e20dfb691abd/raw/40af3b426e57a87595bb364aa6c88374b7e8c332/gistfile1.txt > ~/.bash_aliases
# SSH config
mkdir ~/.ssh
curl -L https://gist.github.com/mogwai/ce3f04cbf6348d6d00f354f1e677345e > ~/.ssh/config
sudo ubuntu-drivers install
sudo snap install telegram-desktop code discord slack spotify vlc doctl
sudo apt install ncdu vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment