[code language=”bash”]
sudo apt-get update sudo apt-get install nginx
sudo ufw allow ‘Nginx HTTP’ systemctl status nginx
sudo systemctl stop nginx sudo systemctl start nginx sudo systemctl restart nginx sudo systemctl reload nginx
[/code]