Deinstallation von Apache2
Wir werden Apache2 komplett deinstallieren. Sichert Eure Daten vorher.
Besonders das Verzeichnis /var/www/ .
systemctl stop apache2
apt-get --purge remove apache2 apache2-utils apache2.2-bin apache2-common -y
deluser www-data sudo delgroup www-data
rm -rf /etc/apache2 /usr/lib/apache2 /usr/include/apache2
apt-get autoremove -y
sudo add-apt-repository --remove ppa:ondrej/apache2 -y
Das war es. Apache2 sollte komplett deinstalliert sein.