Skip to content

Instantly share code, notes, and snippets.

@tommylees112
Last active November 19, 2021 11:22
Show Gist options
  • Save tommylees112/d184b2f99f86dfae63969afb010d758b to your computer and use it in GitHub Desktop.
Save tommylees112/d184b2f99f86dfae63969afb010d758b to your computer and use it in GitHub Desktop.
processes when setting up new GCLOUD option
# Make sure it's an ubuntu distribution
# or just use one of the pre-made nvidia machines: https://cloud.google.com/deep-learning-vm/docs/pytorch_start_instance
sudo apt-get install wget
sudo apt-get install tmux
# Generate SSH keys
# copy the .pub file into ~/.ssh/authorized_keys ON THE REMOTE MACHINE
# https://superuser.com/questions/421004/how-to-fix-warning-about-ecdsa-host-key
# remove the cached key '' $ ssh-keygen -R
# wget miniconda installer from here:
# https://docs.conda.io/en/latest/miniconda.html
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# create your environment
# cuda
sudo apt install software-properties-common
# https://docs.nvidia.com/cuda/archive/10.1/cuda-installation-guide-linux/index.html#about-this-document
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment