User Tools

Site Tools


lemp-install

This is an old revision of the document!


How to install a LEMP Webserver

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.

Install Nginx

  • Type these into your terminal - and open up the ports 80/443 by usng the ufw command shown
sudo apt update
sudo apt upgrade
sudo apt install nginx
 
sudo ufw allow http https

Create a directory for your webserver files etc

lemp-install.1603360687.txt.gz · Last modified: 2023/05/17 22:52 (external edit)