How install Ubuntu Server 20.04 + Nginx + PHP 7.2 or PHP 8.1 and MySQL
How install Ubuntu Server 20.04 and Nginx 1 Download Ubuntu Server Download ubuntu 18 server fron this url: download You should download Server Installation image. 2 Install ubuntu Server Install ubuntu server like you usually install using a booting usb or CD. 3 Installing Nginx Execute command to update your local apt repo. sudo apt update Execute this command for installa Nginx from apt repository. sudo apt install nginx Validate correct installation, go head to browser and put http:// and the public IP server. 4 Installing PHP 7.1 or 8.1 with FPM You will want to avoid relying on the default version of PHP because that default version could change depending on where you are running your code. You may also wish to install a different version to match an application you are using or to upgrade to a newer version, such as PHP 8.1. Next, install software-properties-common, which adds management for additional software sources: sudo apt -y install software-properties-commo