This is an old revision of the document!
A LEMP Server includes NGINX, MariaDB and PHP. For easier administration, we are also going to add PHPmyadmin. As we also need to make sure our sites are secure, we will also be adding Certbot
For this you will need a vanilla Ubuntu Server installation, please find it here
You will need to open up either an ssh client or Putty if on a Windows machine.
sudo apt update sudo apt upgrade sudo apt install nginx sudo ufw allow http https
sudo mkdir /media/webdisk/web-data
sudo chown www-data:www-data /media/webdisk/web-data -R
sudo apt install MariaDB-server MariaDB-client sudo systemctl start MariaDB sudo systemctl enable MariaDB
Now secure MariaDB by typing this:
sudo mysql_secure_installation