Remove CentOS httpd/CentOS Apache

Check whether httpd list in system services
# chkconfig --list

Turn off httpd service
# chkconfig --levels 235 httpd off

Search httpd
# rpm -qa httpd

Remove httpd
# rpm -e --noscripts httpd

Why do we want to remove httpd/apache? In this case, there are another httpd/apache packages installed in the system, somehow causing a trouble and we don’t use CentOS httpd/apache

Leave a Reply