How to uninstall and remove Apache2 on Ubuntu or Debian

$ sudo service apache2 stop

$ sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common

$ sudo apt-get autoremove

$ whereis apache2

$sudo rm -rf /etc/apache2

Tham khao: https://askubuntu.com/questions/671643/uninstall-apache2-from-terminal-on-ubuntu14-04

Last updated