How to Install Cockpit on Debian 12

The cockpit is a web-based system administration service used to manage server services, server storage, configure networks, inspect logs, update server OS packages, and much more. Thanks to its web-based management, keeping track of what’s going on with your server is easier than ever. The cockpit also makes it easier for users that don’t have much experience with servers to better manage their systems without having to learn to use the command line.

Install Cockpit

apt install cockpit

After that's finished, check the status.

systemctl start cockpit

systemctl status cockpit


root@vps:~# systemctl status cockpit
● cockpit.service - Cockpit Web Service
     Loaded: loaded (/lib/systemd/system/cockpit.service; static)
     Active: active (running) since Fri 2023-06-16 14:49:00 UTC; 4s ago
TriggeredBy: ● cockpit.socket
       Docs: man:cockpit-ws(8)
    Process: 8725 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --fo>
   Main PID: 8738 (cockpit-tls)
      Tasks: 1 (limit: 4644)
     Memory: 1.7M
        CPU: 1.115s
     CGroup: /system.slice/cockpit.service
             └─8738 /usr/lib/cockpit/cockpit-tls

Now access your Debian/Ubuntu system via the Cockpit web interface via the address http://:9090.