System
sudo systemctl status apache2
sudo systemctl restart apache2
sudo systemctl start apache2
sudo systemctl stop apache2
sudo 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 apache2
sudo apt-get purge apache2