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