I’m sure many of you have heard the term LAMP before – standing for Linux Apache Mysql and PHP. This is a very typical setup for many open source websites. It’s been around for ages. But make way for LEMP. In a recent report by w3techs, a new HTTP server is climbing its way up the ranks called nginx, but it is pronounced Engine-X; hence, the term LEMP – standing for Linux Engine-X (nginx) Mysql and PHP.
According to this w3techs report nginx is now used by almost 12.5% of the websites we know what web server they are running on. More significantly a staggering 28.2% (of the 12.5%) websites rank in the top 1,000 worldwide (according to their Alexa ranking).
Along with my recent switch to Amazon EC2, I also decided to switch to a LEMP stack. I thought I should throw out another shout out to HowToForge.com for this AMAZING step-by-step tutorial on installing a LEMP stack with extremely simple to follow instructions on my brand new Ubuntu 12 server.
Check out the step-by-step instructions to setting up your LEMP server.
I think I only had to make one modification to this instruction set before being able to perform one of the apt-get install commands I had to perform an update on the box. Luckily enough, the OS told me exactly what to do!
A friend and former colleague introduced me to nginx a while back with his blog about Setting up WordPress with nginx and FastCGI. This is quite useful for understanding the nginx configuration for a virtual host that requires rewrite rules as nginx currently has no support for .htaccess files!
I was previously hosting all of my sites with GoDaddy, using one of their unlimited domain hosting services. While this was pretty inexpensive compared to similar services, I was never truly happy with the load time. Often taking over 1.2 seconds to load this blog!
Google has long since ingrained into my brain how important every millisecond is when dealing with large amounts of traffic.
If there is one thing I don’t like doing – it’s doing the same thing twice or even more! So I was building an application on the side where I need to have a listing that performs a simple countdown. At this point I’ve been lazy and just have it counting down the seconds, but this example would be really easy to update to put a proper countdown of days, hours, minutes, and seconds – and heck if you get really adventurous even weeks, months, and years!