I am a highly skilled and experienced administrator with a strong background in both Windows and Linux systems. I have a deep understanding of network infrastructure, security, and system administration, and am able to effectively troubleshoot and resolve a wide range of technical issues. I am also well-versed in various scripting languages, including PowerShell and Bash, and am able to automate repetitive tasks and improve system efficiency.

Full width home advertisement

Post Page Advertisement [Top]

 


step by step procedure to configure HTTP web-server in Redhat Enterprise Linux


In this video I have provided the detailed step by step procedure to configure HTTP web-server in Redhat Enterprise Linux 7/8 or CentOS.

Follow below mentioned steps (Commands):

1. Login as Root user in server and configure YUM if not done before. Follow below link to configure YUM in RHEL.

2. Install HTTPD package.

# yum install http* -y

3. Enable HTTPD service to run automatically.

# systemctl enable httpd

4. Start HTTPD service.

# systemctl start httpd

5. Set Firewall Rules.

# firewall-cmd --permanent --add-service=http

# firewall-cmd --permanent --add-service=https

6. Reload (restart) the firewall with new rules.

# firewall-cmd --reload

7. Go to /var/www/html/ directory and create index (main) page of web-server, write anything there and save it.

# cd /var/www/html/

# vim index.html

8. Open any web browser on same LAN and insert the IP address of this server to access your web-page which you have just created in last step.


No comments:

Post a Comment

Bottom Ad [Post Page]