0

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 Add a comment
jacob
asked Apr 07 2017

Answer

0

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
May 02 2024
I also invited this question, thank you for information
Add a comment
jagannatharumugam
asked Apr 07 2017
edited Oct 05 2018
Post your Answer
0

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
0

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
0

Thank you man!
This solved my problem!

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

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
0

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

Add a comment
buttondownbulwark
asked Feb 27 2023
edited Aug 25 2023
Post your Answer