Categories
Code

301 Redirects with .htaccess

After I dumped my database and blew up my site, I wanted to resurrect my most popular content. I needed to setup 301 redirects so both users and Google could find my (old) content in its (new) location.

Categories
Personal

[Safely] Update an Ubuntu EC2 instance on Amazon AWS

Ubuntu 12.04.1 LTS was released and that meant it was time to upgrade my Ubuntu EC2 instances from 11.10 to 12.04.1 LTS.

Categories
Code

How To: Install LAMP on Ubuntu

My brother called to talk about moving his company’s web development and testing environment in-house. They had already downloaded Ubuntu, but didn’t know how to get Apache, MySQL, or PHP installed. I sent him one command and 5 minutes later, they had a fully functional LAMP stack running.

Categories
Code

The Perfect APC Configuration

Here was my setup on an Amazon Medium Instance using APC: