Centos 7 completely remove apache (httpd)

Tutorials thread
User avatar
serveroffer
Site Admin
Posts: 48
Joined: 2012 Jun 16, 18:31

Centos 7 completely remove apache (httpd)

Postby serveroffer » 2021 Aug 12, 12:35

Code: Select all

rpm -qa "httpd"

yum list installed "httpd*"

yum remove "httpd*" -y

rm -rf /var/www

rm -rf /etc/httpd

rm -rf /usr/lib64/httpd

userdel -r apache

Check if it's really removed:

Code: Select all

grep "apache" /etc/passwd

systemctl status httpd

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 7 guests