Install Nginx HTTP server – RHEL 8

Install Nginx HTTP server – RHEL 8

Install Nginx HTTP Server Installation

 Method 2

#Login as root user and execute the below command for install nginx http server.
sudo su –
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

sudo yum install nginx

#Enable the service as follows.
systemctl enable nginx.service
#Start the HTTP server as follows.
systemctl start nginx.service

 

To check the version we will use below command

nginx -V

Post Tags :

Leave a Reply

X