LEMP Guides

The LEMP stack configured in these documents is established in contrast to the popular LAMP Stack used to power many popular web applications. “LAMP” refers to a Linux-based operating system, the Apache web server, the MySQL database server, and the PHP programing language. It is common to substitute other programing languages like Python, Perl, and even Ruby for PHP.

The “LEMP” configuration replaces the Apache web server component with nginx (pronounced “engine x,” providing the “E” in LEMP) to increase the ability of the server to scale in response to demand. Furthermore, these guides provide instructions for deploying applications written in Python and Perl in addition to PHP, and for configuring the PostgreSQL database as an alternative to MySQL if your applications support this database server. LEMP provides a platform for applications that is compatible with the LAMP stack for nearly all applications; however, because nginx is able to serve more pages at once with a more predictable memory usage profile, it may be more suited to high demand situations.

How to Install a LEMP (Linux, Nginx, MySQL, PHP) Stack on Ubuntu 16.04

This guide will teach you basic setup and configuration of Linux, Nginx, MySQL and PHP on Ubuntu 16.04

Install a LEMP Stack on CentOS 7 with FastCGI

This guide will teach you how to install a LEMP stack (Linux, Nginx, MariaDB, and PHP) with fastcgi on CentOS 7.

Install a LEMP (Linux, Nginx, MariaDB, PHP) Stack on Debian 8

This tutorial will teach you how to install a LEMP stack to serve websites and applications on Debian 8.

LEMP Server on Debian 7 (Wheezy)

Install a LEMP stack to serve websites and applications on Debian 7

LEMP Server on Ubuntu 12.04 (Precise Pangolin)

Install a LEMP stack to serve websites and applications on Ubuntu 12.04

LEMP Server on Ubuntu 11.10 (Oneiric)

Install web applications with "LEMP," a LAMP-like stack using nginx, MySQL, and PHP.

LEMP Server on CentOS 6

Install a LEMP stack to serve websites and applications on CentOS 6

LEMP Server on Fedora 15

Install web applications with "LEMP," a LAMP-like stack using nginx, PostgreSQL/MySQL, and Perl/Python/PHP.

LEMP Server on Debian 6 (Squeeze)

Install web applications with "LEMP", a LAMP-like stack using nginx, MySQL, and PHP.

LEMP Server on Fedora 14

Install web applications with "LEMP," a LAMP-like stack using nginx, PostgreSQL/MySQL, and Perl/Python/PHP.

LEMP Server on Ubuntu 9.10 (Karmic)

Install web applications with "LEMP," a LAMP-like stack using nginx, MySQL, and PHP.

LEMP Server on Ubuntu 10.10 (Maverick)

Install web applications with "LEMP," a LAMP-like stack using nginx, MySQL, and PHP.

LEMP Server on CentOS 5

Install web applications with "LEMP," a LAMP-like stack using nginx, PostgreSQL/MySQL, and Perl/Python/PHP.

LEMP Server on Arch Linux

Install a LEMP stack to serve websites and applications on Arch Linux

LEMP Server on Fedora 13

Install web applications with "LEMP," a LAMP-like stack using nginx, PostgreSQL/MySQL, and Perl/Python/PHP.

LEMP Server on Ubuntu 10.04 (Lucid)

Install web applications with "LEMP," a LAMP-like stack using nginx, MySQL, and PHP.

LEMP Server on Debian 5 (Lenny)

Install web applications with "LEMP," a LAMP-like stack using nginx,MySQL, PHP.