GitHub page has served me well. But since I already signed up a $5 VPS at digitalocean.com, I figured it’s time to switch to gain more control and pollute GitHub commit number no more.
- Signed up their service with a promo code. You’d have to use a credit card to take advantage of that $10 credit, though I really wanted to use my “For fun” budget set aside on Paypal.
- Spun up a $5 instance within 60 seconds (as they advertised), with Ubuntu 12.10 x64.
- Added my SSH public keys with their control panel.
- Logged in with root and the password they sent through email.
- Changed root password (
apt-get upgrade, without upgrading the kernel.
- Set up OpenVPN server for Netflix US exclusive shows and China trip.
- Set up Nginx with virtual host profiles, which includes this very site.
- Switched A Record from GitHub page to this server IP.
- Reconfigured Octopress Rakefile to deploy using rsync that through SSH to this VPS.
- Set up Dropbox on VPS for cheap and selective backup. I don’t need to backup the whole server, just some key configurations for OpenVPN server, MySQL dumps (for future Wordpress host), etc. In short, I’m too cheap to pay for the backup and snapshot service they provide.
The only part I struggled a bit was the OpenVPN setup, which took me 2 hours last night but the knowledge gain was impressive.
Next, I want to migrate xiangpi.ca to this VPS and say bye to Dreamhost’s virtual host, which not only costs more annually, but also too restrictive for my use cases.
I need some thoughts on how to optimize Wordpress on a VPS using APC, Varnish, Memcached, Redis, etc.