A LEMP  stack is a combination of several open-source software that is typically installed on a Linux server, which is what the L in the acronym stand

Installing LEMP on Debian 10

submited by
Style Pass
2020-10-05 04:36:48

A LEMP stack is a combination of several open-source software that is typically installed on a Linux server, which is what the L in the acronym stands for, that allows for the deployment of dynamic web applications.  The acronym LEMP represents (L) inux operating system, (E) ninx web server, (M) ariaDB database, and the (P) HP server-side scripting language.

Note that the LEMP stack can also be configured with the (M) ySQL database, and sometimes it is, instead of MariaDB , but lately MariaDB has been gaining popularity and is simply considered a drop-in replacement for MySQL .  Use whichever database you prefer.

In this post, I will explain how to install, setup, and configure a LEMP stack, with MariaDB database, on a Debian 10 (Buster) server.

In order to install Nginx web server, use the APT Package Manager as shown below.  If you are not running as root, i.e. through sudo su , add sudo at the beginning of each command below.  Note that it is always preferred to issue an apt update first.

Leave a Comment