What is LEMP Stack
LEMP (Linux, NGINX, MySQL, PHP) is a software stack that used to be the environment for Websites and Web-applications which uses Linux as the Operating system, NGINX (Engine-X) as the web-server, MySQL as the database management system, and PHP as the Scripting language. is almost like LAMP stack with one main difference in the web-server application, in the LEMP stack we use NGINX as the web-server application which is more flexible and lightweight than Apache.
For installing NGINX on Ubuntu 20.04 you can install it using the official “apt” repository.
apt install nginx
You can start the Nginx service using systemctl also you can make it run at the system startup:
systemctl start nginx
systemctl enable nginx
Now you can see the NGINX default page through your domain or Public IP Address like below: