WordPress on Linode

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]

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.

If you made it this far, you should probably follow me on twitter. 🙂

This entry was posted in Hacking and tagged . Bookmark the permalink.

2 Responses to WordPress on Linode

  1. Pavan says:

    I haven’t tried NodeBalancer as of yet. The basic $5 server is taking all the load it can. In addition to this, I’m using nginx server which makes it very light.

    Have you tried nginx instead of apache?

    I’m having stable environment for WordPress on Linode with nginx.

    • levlaz says:

      Thanks for your comment! This post is almost three years old at this point (back in 2014 the cheapest plan was $20!). I “graduated” to nginx since then, but when I got this blog back on wordpress I stuck with apache. I use the super cache plugin so most pages are served as static HTML which significantly lowers the load on the server.

Leave a Reply

Your email address will not be published. Required fields are marked *