WordPress Complete LEMP instructions

February 28, 2015 857 views


I have a WordPress site that gets over 2 million pageviews per month. Traffic is approx 3TB/month and the WP theme + plugins use approx 30MB frontend. The theme is built on the Genesis Framework.

Now we want to move the site here and install it on a LEMP stack.

Are there complete step by step instructions available for a LEMP stack completely optimized for WordPress?

I already have followed the basic instructions from Justin Ellingwood (https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04), here on DO, which look very good.

However, I guess I need some more advanced instructions for further finetuning and optimizing everything for WordPress.

Things we're thinking of are

With the instructions we want to create a secure, high performing server that is fully optimized for WordPress.

Any help would be highly appreciated.

Thank you,

2 Answers

First off the bat, replace PHP with HHVM (up to 9x faster using less resources) and sign up for CloudFlare if you havn't already (you may have some issues if you want to use your own SSL cert with the free plan).

Check out MariaDB as a replacement to MySQL which is "supposedly" faster but different comparisons vary on their results.

HHVM is completely new to me. I've read something about it and I think it's a good idea to investigate that further. No idea how to implement it, yet... but i'll keep reading.. ;-) Thanks for the suggestion.

Have another answer? Share your knowledge.