How To Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu 20.04 The LEMP software stack is a group of software that can be used to serve dynamic web pages and web applications written in PHP. Step 1 – Installing the Nginx Web Server Nginx, a high-performance web server. We’ll use the apt package manager to obtain this software. Since this is our first time using apt for this session, start off by updating your server’s package index. Following that, you can use apt install to get Nginx installed: sudo apt update sudo apt install nginx When prompted, enter Y to confirm that you want to install Nginx. Once the installation is finished, the Nginx web server will be active and running on your Ubuntu 20.04 server. If you have the ufw firewall enabled, as recommended in our initial server setup guide, you will need to allow connections to Nginx. Nginx registers a few different UFW application profiles upon installation. To check which UFW profiles are available, run: Updated on October 24, 2020 Was this article helpful? Yes No Need Support?Can’t find the answer you’re looking for? Don’t worry we’re here to help!Open Support Ticket