Last active
June 5, 2025 07:18
-
-
Save fpaupier/09ace384e33fc210e72975d4e07b37e4 to your computer and use it in GitHub Desktop.
Cloud instance instal utils
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update -y | |
# Install oh my bash | |
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" | |
# Set up SSH key for GitHub | |
echo "Setting up SSH key for GitHub..." | |
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N "" || { echo "SSH key generation failed"; exit 1; } | |
# Add user to docker group | |
sudo usermod -aG docker $USER | |
# Exit and re login for modif to take actions | |
exit | |
# pull relevant docker image | |
docker pull nvidia/cuda:12.8.0-devel-ubuntu24.04 | |
sudo apt install git-lfs -y | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment