How to Install LEMP Stack (Nginx, MariaDB, PHP7.2) on Ubuntu 18.04 LTS

LinuxBabe
1 min readMay 17, 2018

--

This tutorial is going to show you how to install Nginx, MariaDB and PHP7.2 (LEMP) on Ubuntu 18.04. You can follow this tutorial on a VPS (Virtual Private Server) or on a local Ubuntu 18.04 computer. PHP7.2 is included in Ubuntu 18.04 and has a minor performance improvement over php7.2.

Prerequisite

To follow this tutorial, you need to have an Ubuntu 18.04 OS running on your local computer or on a remote server. If you are looking for a VPS (Virtual Private Server), then I recommend Linode, from which you can get a 1GB server for only 5 USD per month. You can also get $10 free credit by using the promo code DOCS10 if you are a new customer. Without further ado, let’s get started.

Read full tutorial here: https://www.linuxbabe.com/ubuntu/install-lemp-stack-nginx-mariadb-php7-2-ubuntu-18-04-lts

--

--

No responses yet