[root@testvm ~]# yum install httpd -y
[root@testvm ~]# systemctl start httpd
[root@testvm ~]# systemctl enable httpd
[root@testvm ~]# systemctl status httpd
[root@testvm ~]# cd /var/www/html
Edit document root of the web server with your index file. Please refer https://gitlab.com/-/snippets/2303015 for index.html code
[root@testvm html]# vi index.html
5 things to remember while installing a tool/utility or an application
-
Name of the tool/utility/application
-
Name of the service if that tool/utility or an application works as a service.
-
Port no. of that tool/utility or an application.
-
root directory of that tool/utility or an application.
-
Log file location of that tool/utility or an application.