Skip to content

Instantly share code, notes, and snippets.

@naveen
Created June 10, 2013 23:47
Show Gist options
  • Select an option

  • Save naveen/5753450 to your computer and use it in GitHub Desktop.

Select an option

Save naveen/5753450 to your computer and use it in GitHub Desktop.
getting up and going on linode with debian 6
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