Installation and configuration of Apache
install httpd apache service:
sudo dnf install httpdStart apache service
sudo systemctl start httpd.serviceThe default rootdirectory for apache /var/www/html/. We change this by modifying the config file /etc/httpd/conf/httpd.conf. The root directory for apache is now altered to another directory /var/www/billiard-scoreboard/
Restart Apache:
sudo systemctl restart httpd.service