Featured image of post Uninstall Apache Advanced Edition

Uninstall Apache Advanced Edition

How to uninstall some machines that come with this program

Delete apache

Apache2 is installed by default. Now uninstall this service.

1. Find web services

Use the following command:

dpkg -l | grep apache2

2. Delete apache2

The deletion command is as follows:

apt-get --purge remove apache2

apt-get --purge remove apache2-doc

apt-get --purge remove apache2-utils

apt-get --purge remove apache2-bin

apt-get --purge remove apache2-data

3. Delete redundant files

After the above execution, execute the following command:

find /etc -name "apache" |xargs rm -rf

rm -rf /var/www

rm -rf /etc/libapache2-mod-jk

4. Finally

Port 80 is released, no problem.

2022-2025做了三年的事情,得到了很多收获也看到了这个世界的另一面。
Built with Hugo
Theme Stack designed by Jimmy