Home>Article>Operation and Maintenance> How to uninstall apache

How to uninstall apache

步履不停
步履不停 Original
2019-06-28 14:51:09 5729browse

How to uninstall apache

1. Delete the Apache server under Windows system

There are two methods:

1. Run cmd, enter the directory where the apache program is located, and use the following uninstall command

httpd –k uninstall

2. You can also enter the control panel, management tools, services, and check the services of the apache program. What is the name? For example, apache

cmd runs the following command:

net stop apache sc delete apache

2. Delete the Apache service under Linux system

Uninstall command apache

sudo apt-get remove apache

Uninstall association

sudo apt-get autoremove

Manually delete configuration

sudo find /usr -name “*apache*” -exec rm -rf {} ; sudo find /etc -name “*apache*” -exec rm -rf {} ; sudo find /var -name “*apache*” -exec rm -rf {} ;

For more technical articles related to Apache, please Visit theApache Tutorialcolumn to learn!

The above is the detailed content of How to uninstall apache. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is apache virtual host Next article:What is apache virtual host