Skip to content

Instantly share code, notes, and snippets.

@balamaci
Last active August 29, 2015 14:10
Show Gist options
  • Save balamaci/c80b47fb0936dbe5dab9 to your computer and use it in GitHub Desktop.
Save balamaci/c80b47fb0936dbe5dab9 to your computer and use it in GitHub Desktop.
Setup New server
#
useradd -m -d /home/sbalamaci -s /bin/bash sbalamaci
#add to users
sudo usermod -a -G sudo sbalamaci
#generate ssh keys
ssh-keygen -t rsa -C "your_email@example.com"
#java8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
#set timezone
sudo dpkg-reconfigure tzdata
#maybe enable swap
https://github.com/CraftThatBlock/SwapUbuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment