Skip to content

Instantly share code, notes, and snippets.

@yuki24
Created December 5, 2011 00:50
Show Gist options
  • Save yuki24/1431830 to your computer and use it in GitHub Desktop.
Save yuki24/1431830 to your computer and use it in GitHub Desktop.
snippets for the blog entry http://goo.gl/VTl9k
cd ~
mkdir .ssh
touch .ssh/authorized_keys
emacs .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-server openssh-client
sudo emacs /etc/ssh/sshd_config
sudo apt-get install emacs vim
git config --global core.editor emacs
sudo apt-get install git-core git-svn subversion
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global color.ui true
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
sudo apt-get install ntp
sudo dpkg-reconfigure tzdata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment