You have to follow below steps to install Apache.
- First you have to install Apache with below command:
# yum install httpd
- When your installation will complete, you have to star your Apache service as it will not automatically start.
# systemctl start httpd
- To know the status of your Apache module you haveto run below command:
# systemctl status httpd