sudo su
enable multiverse and universe - http://goo.gl/73C8sq
vim /etc/apt/sources.list
apt-get update
apt-get -y upgrade
install ec2 cli tools - http://goo.gl/b42hAv
apt-get install ec2-api-tools
apt-get install gcc
apt-get install g++
apt-get install make
apt-get install openssl
apt-get install git
git clone git://github.com/joyent/node.git
cd node
target select node version - http://nodejs.org/
git tag -l
git checkout v0.XX.XX
./configure
make
make install
apt-get update && apt-get install zsh
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
exit
sudo vim /etc/passwd
exit
cd ~
wget --output-document .zshrc http://goo.gl/mkfXZE
export EC2_KEYPAIR=<your keypair name> # name only, not the file name
export EC2_URL=https://ec2.<your ec2 region>.amazonaws.com
export EC2_PRIVATE_KEY=$HOME/<where your private key is>/pk-XXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem
export EC2_CERT=$HOME/<where your certificate is>/cert-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/