Skip to content

Instantly share code, notes, and snippets.

@Tantas
Created September 12, 2014 17:35
Show Gist options
  • Save Tantas/f2031af5bef93d49d828 to your computer and use it in GitHub Desktop.
Save Tantas/f2031af5bef93d49d828 to your computer and use it in GitHub Desktop.
Setup a comfortable Ubuntu environment
# Login into the server
ssh user@ip-address
# Apply updates
sudo apt-get update && sudo apt-get upgrade
# Create a user to work under
sudo useradd -m -G sudo -s /bin/bash joe
passwd joe
# Remove password requirement for user joe
sudo vim /etc/sudoers
# Add line at the end(otherwise will not take effect because last match matters)
joe ALL=(ALL) NOPASSWD: ALL
# Create a rsa key on the local machine and send to the server
# Update local .ssh/config to make life easy
# Leave and return with the new account
# Make the environment comfortable
sudo apt-get install git rsync tree curl
git clone https://github.com/Tantas/dotfiles.git
cd ./dotfiles/
chmod +x bootstrap.sh
yes | ./bootstrap.sh
cd ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment