Create Linode: Ubuntu LTS
- Login with set password
- mkdir ~/.ssh
- chmod go-w ~/.ssh
- exit
- scp
/.ssh/id_rsa.pub SERVER:/.ssh/authorized_keys
- echo "servername" > /etc/hostname
- hostname -F /etc/hostname
- dpkg-reconfigure tzdata (follows on screen steps)
- apt-get update
- apt-get upgrade --show-upgraded
Installing NGINX (https://library.linode.com/lemp-guides/ubuntu-12.04-precise-pangolin)
- Download the key and add to APT:
- wget http://nginx.org/keys/nginx_signing.key
- apt-key add nginx_signing.key
- echo "deb http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list
- echo "deb-src http://nginx.org/packages/ubuntu/ precise nginx" >> /etc/apt/sources.list
- apt-get update
- apt-get install nginx
- Download the key and add to APT:
- wget https://www.postgresql.org/media/keys/ACCC4CF8.asc
- apt-key add ACCC4CF8.asc
- echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" >> /etc/apt/sources.list
- apt-get update
- apt-get install
- Download the key and add to APT:
- http://apt.hellobits.com/hellobits.key
- echo "deb http://apt.hellobits.com/ precise main" >> /etc/apt/sources.list
- apt-get update
- apt-get install ruby-2.1
- adduser --ingroup www-data deploy
- Upload your public key to ~/.ssh/authorized_keys