Nginx is one of the most famous amp widely used web servers. Nginx not only acts as a web server but can also work as a mail proxy server reverse proxy cache server as well as a load balancer.
In this tutorial we will learn how to install NGINX on Ubuntu using the Ubuntu system repositories amp also with using Nginx repositories.
Recommended Read Learn to use KILL COMMAND in Linux.
Also Read How to install Nginx on CentOSRHEL.
So lets get going.
nginx is maintained on the default Ubuntu repositories amp can be installed with the default package manager i.e. apt. To install Nginx on Ubuntu run the following command.
sudo apt update ampamp sudo apt upgrade -y.
sudo apt install nginx.
Once the nginx is installed the nginx service will install by default. We can check it by running the following command.
News Link: https://thelinuxgurus.com/how-to-install-nginx-on-ubuntu/.
RSS Link: https://thelinuxgurus.com/feed/.