Saturday, September 18, 2021

Install Nginx HTTP server - RHEL 8 - Teach Bharat - 9588689939

 Install Nginx HTTP Server Installation 


#Login as root user and execute the below command for install nginx http server.
sudo su -
yum install nginx -y

#Enable the service as follows.

systemctl enable nginx.service

#Start the HTTP server as follows.

systemctl start nginx.service

Important Points
  1.   nginx.conf file is the configuration file for Nginx HTTP server, which is available in         /etc/nginx/  directory.
  2. Logs will be available in /var/log/nginx/ directory.

No comments:

Post a Comment