serveroffer.lt forum


Centos 7 completely remove apache (httpd)

Tutorials thread

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
User avatar
serveroffer
Site Admin
 
Posts: 44
Joined: 2012 Jun 16, 18:31

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests

cron