Install Nginx on CentOS 9 Stream - Step by step guide ?
This article covers how to install the Nginx web server on CentOS 9 Stream. In fact, Nginx acts as a reverse proxy server and load balancer.
How to install Nginx on CentOS 8 ?
1. Install nginx package using the yum command on CentOS 8:
$ sudo yum update
$ sudo yum install nginx
2. Update firewall settings and open TCP port 80 and 443. Run:
$ sudo firewall-cmd --permanent --zone=public --add-service=https --add-service=http
$ sudo firewall-cmd --reload
How To Uninstall nginx on Ubuntu 21.04 ?
To uninstall only the nginx package we can use the following command:
$ sudo apt-get remove nginx
In this guide, you will learn the procedure to install Nginx web server on a CentOS Linux 8. Nginx [engine X] is a free and open-source high-performance web server.