Created
June 10, 2013 23:47
-
-
Save naveen/5753450 to your computer and use it in GitHub Desktop.
getting up and going on linode with debian 6
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
| ssh root@_ | |
| echo "kitsune" > /etc/hostname | |
| hostname -F /etc/hostname | |
| to /etc/hosts: | |
| 12.34.56.78 plato.example.com plato | |
| 2600:3c01::a123:b456:c789:d012 plato.example.com plato | |
| dpkg-reconfigure tzdata | |
| apt-get update | |
| apt-get upgrade --show-upgraded | |
| apt-get install sudo #debian 6 didn't have it | |
| adduser naveen | |
| usermod -a -G sudo naveen | |
| ^d | |
| ssh naveen@_ | |
| sudo apt-get install git | |
| # ssh | |
| # enable id_rsa.pub for naveen | |
| # ssh | |
| # disable root login | |
| # disable passwordauthentication | |
| # setup iptables | |
| # the rest of the rules are in the linode setup howto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment