What is Cockpit?
Cockpit is a lightweight, modern web-based server management tool developed by Red Hat. It provides real-time performance monitoring, terminal access, container management, and system configuration through an intuitive dashboard.
Installation
On Ubuntu/Debian:
sudo apt update
sudo apt install -y cockpit
sudo systemctl enable --now cockpit.socketOn RHEL/AlmaLinux/Rocky:
sudo dnf install -y cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --permanent --add-service=cockpit
sudo firewall-cmd --reloadAccessing Cockpit
Open your browser and navigate to https://your-server-ip:9090. Log in with any system user that has sudo privileges.
Key Features
- Overview — CPU, memory, disk, and network usage at a glance
- Terminal — full browser-based shell access
- Storage — manage disks, partitions, and filesystems
- Networking — configure interfaces, bonds, and firewall zones
- Services — start, stop, and enable systemd units
- Containers — manage Podman containers (with cockpit-podman plugin)
Installing Additional Modules
sudo apt install -y cockpit-podman cockpit-machines cockpit-storagedThese add container management, virtual machine control, and advanced storage management to your dashboard.