1

How to remove httpd completely from server

i need to remove httpd completely from my server, i have used yum remove httpd* command. But except the main config file all others are exists....

Web Server HTTPD
Comments
jeffreestar
Mar 05 2025
good
Add a comment
jacob
asked Apr 07 2017

Answer

1

yum remove httpd* alone cant remove httpd completely. Follow the steps as shown below.

  1. Use yum list installed "httpd*" to list all the httpd packages
  2. Now use yum list installed "mod_" to list all modules that helps httpd.
  3. Remove all the listed packages with yum remove command.
  4. Once its removed, delete the user and group called "apache" .
  5. Followed by apache path rm -rf /var/www /etc/httpd /usr/lib/httpd

Thus we have completely removed httpd.

Comments
Trifon
Apr 08 2025
I also invited this question, thank you for information
Add a comment
jagannatharumugam
asked Apr 07 2017
edited Oct 05 2018
Post your Answer
1

Thanks, I'm trying to remove the httpd also on my test server and this thread helps me.

Add a comment
thamtoress
asked Jul 02 2019
Post your Answer
1

I'm always excited to read your new posts. They never disappoint.

Add a comment
olivermartin
asked Sep 25 2023
edited Sep 26 2023
Post your Answer
1

Thank you man!
This solved my problem!

Add a comment
yuricarvalho
asked Jun 25 2020
Post your Answer
1

Nice! Use the "httpd*" setting and choose to remove all.

Add a comment
mefapav
asked Feb 21 2023
edited Aug 25 2023
Post your Answer
1

Make use of the "httpd*" setting and select "all."
enter link description heregoolge
(https://www.google.com)goolge

Add a comment
kimmoses
asked Dec 25 2024
edited Dec 26 2024
Post your Answer
1

Also, definitely many thanks for permitting me to comment, which is fairly significant.
MOTO X3M

Comments
jeffreestar
Apr 08 2025
good
Add a comment
buttondownbulwark
asked Feb 27 2023
edited Aug 25 2023
Post your Answer