How Do You Install Nginx on a Debian/Ubuntu Server?

Problem scenario
How do you install Nginx on a Debian or Ubuntu Linux server?

Solution
Run these three commands:
sudo apt-get -y update
sudo apt-get -y install nginx
sudo systemctl restart nginx

Leave a comment

Your email address will not be published. Required fields are marked *