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