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 the LEMP Stack on CentOS 8

The LEMP stack (Linux, NGINX, MySQL, and PHP) is a popular alternative to the LAMP stack that uses NGINX instead of Apache. This guide will walk you through basic installation, setup and configuration of the LEMP stack on CentOS.

How to Install the LEMP Stack on Debian 10

The LEMP stack (Linux, NGINX, MariaDB, and PHP) is a popular alternative to the LAMP stack that uses NGINX instead of Apache. This guide will walk you through basic installation, setup and configuration of the LEMP stack on Debian.

How to Install the LEMP Stack on Ubuntu 18.04

The LEMP stack (Linux, NGINX, MySQL, and PHP) is a popular alternative to the LAMP stack that uses NGINX instead of Apache. This guide will walk you through basic installation, setup and configuration of the LEMP stack on Ubuntu.

Install a LEMP Stack on CentOS 7

The LEMP stack (Linux, NGINX, MySQL, and PHP) is a popular alternative to the LAMP stack that uses NGINX instead of Apache. This guide will guide you through basic installation, setup and configuration of a LEMP stack on CentOS 7.

Install a LEMP Stack on Debian 9

This guide teaches basic setup and configuration of Linux, NGINX, MySQL/MariaDB, and PHP (LEMP stack) on Debian 9.

Install a LEMP Stack on Ubuntu 16.04

The LEMP stack (Linux, NGINX, MySQL, and PHP) is a popular alternative to the LAMP stack that uses NGINX instead of Apache. This guide will guide you through basic installation, setup and configuration of a LEMP stack on Ubuntu.

LEMP Server on Arch Linux

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

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 CentOS 6

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

LEMP Server on Debian 5 (Lenny)

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

LEMP Server on Debian 6 (Squeeze)

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

LEMP Server on Debian 7 (Wheezy)

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

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 Fedora 14

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

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 Ubuntu 10.04 (Lucid)

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 Ubuntu 11.10 (Oneiric)

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

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 9.10 (Karmic)

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