Command: Betriebssystem updaten
sudo dnf -y update
Command: Apache installieren
sudo dnf -y install httpd
Command: Dienst starten und zu Autostart hinzufügen
sudo systemctl enable httpd –now
Command: Dienststatus anzeigen
sudo systemctl status httpd
Command: Firewallregeln hinzufügen
sudo firewall-cmd –permanent –add-service=http(s)
Command: Firewallregeln neustarten
sudo firewall-cmd –reload
Command: Cockpit installation
sudo dnf -y install cockpit
Command: Service starten
sudo systemctl start cockpit.socket
Command: Service in Autostart hinzufügen
sudo systemctl enable cockpit.socket
Command: Dienststatus anzeigen
sudo systemctl status cockpit.socket