Showing posts with label HTTP Server. Show all posts
Showing posts with label HTTP Server. Show all posts

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.

Install Apache HTTP Server in Linux Redhat Server - teach Bharat - 9588689939

Install Apache HTTP Server Installation 
 
 Login as root user and execute the below command for install http server.

yum install httpd -y

Enable the service as follows.

systemctl enable httpd.service

Start the HTTP server as follows.

systemctl start httpd.service

Important Points
  1.  httpd.conf file is the configuration file for Apache HTTP server, which is available in /etc/httpd/conf directory.
  2. Logs will be available in /etc/httpd/logs directory.