WordPress on Linode

2014-08-20 Tags: web

One of my first tasks at Linode was to set up some nodebalancers. It was a good exercise, and I learned a lot. I set up redundant wordpress sites and had the nodebalancer handle all of the traffic. It is a pretty neat concept and a very useful tool! I have not used wordpress in ages and I am amazed at how far it has come in terms of features, ease of installation, usability. It is the perfect content management system. In fact, I was so inspired by how beautiful and easy WP was to set up, that I migrated my whole blog over to it. So welcome to Rev3 of my move from blogger. I loved drukkar, and would highly recommend it for a very simple blog, but I just needed something with a few more features and extras. Setting up a WP site on Linode is a breeze thanks to the handy dandy StackScripts that are available. It literally took me about 5 minutes to have a complete WP site up and running. One thing to note, is that if you do deploy using stackscripts and want to use the Permalinks feature you must do the following: 1) Update the .htaccess file to have the following content:

 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
2) Enable the Apache Rewrite Module :
sudo a2enmod rewrite sudo service apache2 restart
Your permalinks should now be working fine!  This is what I had to do using a clean StackScript install on Debian 7.5. WP makes it super easy to import other blogs, so I am going to go ahead and move everything from my blogger blog over here, and move forward from there. Hopefully no more migrations for a while.