How To Install the Apache Web Server on CentOS?
Linux CentOS - How To Install the Apache Web Server on CentOS
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
How To Install the Apache Web Server on CentOS?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ck NitinRank #189 · 12.9K reputationPosted Apr 6, 2022, 10:04 PM EDT
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