System
sudo systemctl status apache2sudo systemctl restart apache2sudo systemctl start apache2sudo systemctl stop apache2sudo systemctl disable aapache2
Config Test
sudo apache2ctl configtest
Apache Mod Enable
sudo a2enmod [mod], examplesudo a2enmod actions fcgid alias proxy_fcgi rewrite
Uninstall
sudo systemctl stop apache2 && sudo systemctl disable apache2sudo apt-get purge apache2