Standardorte
Web-Stammverzeichnis: /usr/share/nginx/html
Konfiguration:
- Debian/Ubuntu:
/etc/apache2/ - CentOS/Fedora:
/etc/httpd/
Protokolle:
- Debian/Ubuntu:
/var/log/apache2/ - CentOS/Fedora:
/var/log/httpd/
Zugang
Öffnen Sie Ihren Browser: http://<server-ip>/
Dienststeuerungsbefehle
# Apache starten
sudo systemctl start apache2 # Debian/Ubuntu
sudo systemctl start httpd # CentOS/Fedora
# Apache stoppen
sudo systemctl stop apache2 # Debian/Ubuntu
sudo systemctl stop httpd # CentOS/Fedora
# Apache neu starten
sudo systemctl restart apache2 # Debian/Ubuntu
sudo systemctl restart httpd # CentOS/Fedora
# Status überprüfen
systemctl start apache2 # Debian/Ubuntu
systemctl status httpd # CentOS/Fedora
