Apache2 Workshop Installation und Handling
Version vom 14. März 2025, 14:28 Uhr von Thomas.will (Diskussion | Beiträge) (→Welche Ports sind offen?)
Installation
- sudo apt install -y apache2
Handling
- systemctl status apache2
- systemctl stop apache2
- systemctl start apache2
- systemctl restart apache2
- systemctl reload apache2
- systemctl is-enabled apache2
Welche Ports sind offen?
- ss -lntp | grep apache2
Logging
- systemd
- journalctl -fu apache2
- journalctl -n 20 -u apache2
- eigene Logs
- tail -f /var/log/apache2/access.log
- tail -f /var/log/apache2/error.log