Last active
August 29, 2015 14:10
-
-
Save balamaci/c80b47fb0936dbe5dab9 to your computer and use it in GitHub Desktop.
Setup New server
This file contains 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
# | |
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