How To Install the Apache Web Server on CentOS?
Loading
How To Install the Apache Web Server on CentOS?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ck NitinPosted Apr 7, 2022, 2:04 AM
I found the answer
Step 1: Get the package from dnf and install it
dnf install httpd
Step 2: Apache does not automatically start on CentOS once the installation completes, so you will need to start the Apache process manually
systemctl start httpd
Step 3: Verify that the service is running with the following command:
systemctl status httpd
after running above command you will receive the "active" status