Many of you might be wondering how to install NGINX
and manage it in Linux / Ubuntu OS. In this article I will walk you through the installation process and once the installation is done I will tell you how to manage the NGINX
server.
In NGINX management you will learn how to check NGINX version, verbose output, test configuration, start, stop, restart & reload the NGINX configuration file.
NOTE: Also I will cover NGINX
reload
vsrestart
I hope you might have setup Ubuntu 18.04 server in Digital Ocean, Linode or any other cloud servers.
First update your OS package libraries using the following command
sudo apt-get update
Then run the following command to install the NGINX
from Ubuntu package manager
sudo apt-get install nginx
NGINX Help List (-h)
This command lists all the available options for NGINX
sudo nginx -h
#ubuntu #linux #nginx