Skip to main content
20.03.2026

Cockpit: Web-Based Server Administration for Linux

head-image

Managing Linux servers often means juggling terminal sessions, memorizing commands, and switching between tools. Cockpit offers a different approach: a lightweight web interface that exposes system administration tasks through your browser while staying fully compatible with command-line workflows.

What is Cockpit?

Cockpit is an open-source, web-based graphical interface for Linux servers. Unlike traditional admin panels that abstract away the underlying system, Cockpit uses native system APIs and commands directly. This means changes made in Cockpit reflect immediately on the command line, and vice versa.

The project started at Red Hat and now ships by default on Fedora, RHEL, and CentOS Stream. It supports Debian, Ubuntu, Arch Linux, and openSUSE as well.

Key Features

  • Real-time system overview: Monitor CPU, memory, disk I/O, and network activity at a glance
  • Storage management: Configure disks, RAID arrays, LVM volumes, and LUKS encryption
  • Network configuration: Manage interfaces, bonds, bridges, VLANs, and firewall rules
  • Container support: Run and manage Podman containers directly from the UI
  • Virtual machines: Create and control KVM/libvirt VMs with a visual interface
  • Log inspection: Browse and filter systemd journal entries with full search capabilities
  • Multi-host management: Connect to other Cockpit-enabled servers via SSH and switch between them

Installation

On Fedora, RHEL, or CentOS:

sudo dnf install cockpit
sudo systemctl enable --now cockpit.socket

On Debian or Ubuntu:

sudo apt install cockpit
sudo systemctl enable --now cockpit.socket

After installation, access Cockpit at https://your-server:9090 using your regular system credentials.

Usage

Cockpit runs on-demand through systemd socket activation. It consumes no resources when idle. Once you log in, you get a dashboard showing system health, active services, and recent logs.

The built-in terminal lets you drop into a shell without leaving the browser. This is especially useful when accessing servers from Windows or macOS machines without native SSH clients.

For teams, Cockpit respects existing user permissions. Regular users see limited options while administrators get full control. This makes it suitable for environments where multiple people manage the same systems.

Operational Tips

  • Enable Cockpit on all servers for consistent monitoring across your fleet
  • Use the Podman integration to manage containers without installing Docker
  • Combine with Ansible for automation while using Cockpit for ad-hoc tasks and troubleshooting
  • Install optional plugins like cockpit-machines for VM management or cockpit-storaged for advanced storage

Conclusion

Cockpit brings server administration into the browser without sacrificing the flexibility of the command line. For SRE and DevOps teams managing Linux infrastructure, it provides a unified view across systems while staying true to native tooling.

Akmatori helps teams automate infrastructure operations with AI-powered agents. Explore how intelligent automation can streamline your workflows at akmatori.com. For high-performance hosting, check out Gcore.

Automate incident response and prevent on-call burnout with AI-driven agents!