Configure Apache web server on Linux
Procedure
-
Update the yum package.
yum -y update
-
Install Apache on Linux.
yum -y install httpd
-
Start the Apache service.
systemctl start httpd
Restart the Apache service if there was configuration changes.
systemctl restart httpd
- To verify that the web server has been installed correctly, open the Apache server using a web browser with IP (http) address.