Installing NGINX

Step 1: Access the server through SSH with an account with administrative privileges;

Step 2: Install the NGINX web server using the following command:

# yum install nginx

Step 3: Enable NGINX to start at boot using the following command:

# systemctl enable nginx

Step 4: Stop the NGINX service with the following command:

# systemctl stop nginx