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....

jacob
asked Apr 7, 2017
6 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.

View More
jagannatharumugam
answered Apr 7, 2017
1

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

View More
thamtoress
answered Jul 2, 2019
0

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

View More
olivermartin
answered Sep 25, 2023
0

Thank you man!
This solved my problem!

View More
yuricarvalho
answered Jun 25, 2020
0

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

View More
mefapav
answered Feb 21, 2023
0

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

View More
buttondownbulwark
answered Feb 27, 2023
Your Answer
||||
x
 
100:0

Related News in How to remove httpd completely from server

Related News in How to remove httpd completely from server