install nginx ubuntu 18.04

Shell
// Update apt repo
sudo apt update 
// install nginx
sudo apt install nginx 
// check if nginx is properly running
systemctl status nginx sudo apt update
sudo apt install nginx
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
Source

Also in Shell: