Die nachfolgenden Befehle helfe dir, den Apache Webserver unter Ubuntu zu steuern.
Apache stoppen
sudo systemctl stop apache2
Apache starten
sudo systemctl start apache2
Apache neustarten
sudo systemctl restart apache2
Apache-Konfiguration neu laden
sudo systemctl reload apache2
Automatischen Start von Apache deaktivieren
sudo systemctl disable apache2
Automatischen Start von Apache aktivieren
sudo systemctl enable apache2
Apache-Konfiguration testen
sudo apachectl configtest