Yesterday I had to re-deploy the WordPress installation of PrimeGap.net on a new server and, looking for some tips about configuration, I found a new strange buzzword: LEMP Stack.
A LEMP Stack is a bit different. First of all it uses nginx (pronounced “engine x”) and this explain the “E”. Then you can replace MySQL with any of the other fork. I personally use MariaDB 10.0. Many people also use Percona.
You can also replace PHP with another language such Python or Ruby but if you still use PHP choose PHP-FPM.
Many hosting provider provide useful guides to setup you server:
- [Linode] LEMP Server on CentOS 6
- [Linode] LEMP Server on Ubuntu 12.04 (Precise Pangolin)
- [DigitalOcean] How to Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.0
- [DigitalOcean] How to Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6
Linode is a bit different and uses PHP-FastCGI. Both uses MySQL. If you, like me, prefer MariaDB following guides should help you:
Current version of WordPress is easy to run on it. WordPress Codex provides a custom configuration to uses nginx. There are many optimization you can do. This Gist seems well done: https://gist.github.com/tjstein/902803
Welcome to the next-gen 🙂