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 vs restart


Prerequisites

I hope you might have setup Ubuntu 18.04 server in Digital OceanLinode or any other cloud servers.


Step 1 - NGINX Installation

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

Step 2 - Manage NGINX Server

NGINX Help List (-h)

This command lists all the available options for NGINX

sudo nginx -h

#ubuntu #linux #nginx

How To Install NGINX In Linux / Ubuntu Package Manager & Manage It
1.45 GEEK