How to Install Cockpit on Ubuntu 22.04

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

Output:

root@crown:~# systemctl status cockpit
● cockpit.service - Cockpit Web Service
     Loaded: loaded (/lib/systemd/system/cockpit.service; static)
     Active: active (running) since Mon 2022-04-18 19:59:44 UTC; 7s ago
TriggeredBy: ● cockpit.socket
       Docs: man:cockpit-ws(8)
    Process: 4713 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --fo>
   Main PID: 4728 (cockpit-tls)
      Tasks: 1 (limit: 1074)
     Memory: 2.7M
        CPU: 382ms
     CGroup: /system.slice/cockpit.service
             └─4728 /usr/lib/cockpit/cockpit-tls

Apr 18 19:59:44 crown systemd[1]: Starting Cockpit Web Service...
Apr 18 19:59:44 crown cockpit-certificate-ensure[4720]: /usr/lib/cockpit/cockpi>
Apr 18 19:59:44 crown cockpit-certificate-ensure[4721]: .....++++++++++++++++++>
Apr 18 19:59:44 crown cockpit-certificate-ensure[4721]: ....+....+...+...+.....>
Apr 18 19:59:44 crown cockpit-certificate-ensure[4721]: -----
Apr 18 19:59:44 crown systemd[1]: Started Cockpit Web Service.

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


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS