MirrorNest
← Tous les guides

Cockpit

Cockpit is a lightweight, browser-based admin console for managing a single Linux server — services, storage, networking, logs, and terminal access — using your normal system login.

Système : Linux (Debian / Ubuntu / Fedora / RHEL)System AdministrationSite officiel ↗Documentation officielle ↗
Ce guide est élaboré à partir de la documentation officielle de Cockpit, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
  1. 1Install on Debian / Ubuntu

    . /etc/os-release
    sudo apt install -t ${VERSION_CODENAME}-backports cockpit

    The package enables and starts the service automatically.

  2. 2Install on Fedora

    sudo dnf install cockpit
    sudo systemctl enable --now cockpit.socket
  3. 3Install on RHEL

    sudo yum install cockpit
    sudo systemctl enable --now cockpit.socket
  4. 4Open the firewall (Fedora/RHEL)

    sudo firewall-cmd --add-service=cockpit
    sudo firewall-cmd --add-service=cockpit --permanent
  5. 5Log in

    Open https://ip-address:9090 and sign in with your normal system user account and password.