← All 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.
Target: Linux (Debian / Ubuntu / Fedora / RHEL)System AdministrationOfficial homepage ↗Official docs ↗
This guide is synthesized from Cockpit's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
1Install on Debian / Ubuntu
. /etc/os-releasesudo apt install -t ${VERSION_CODENAME}-backports cockpitThe package enables and starts the service automatically.
2Install on Fedora
sudo dnf install cockpitsudo systemctl enable --now cockpit.socket3Install on RHEL
sudo yum install cockpitsudo systemctl enable --now cockpit.socket4Open the firewall (Fedora/RHEL)
sudo firewall-cmd --add-service=cockpitsudo firewall-cmd --add-service=cockpit --permanent5Log in
Open https://ip-address:9090 and sign in with your normal system user account and password.