How to Install Cockpit on Ubuntu 23.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
Installing cockpit is super easy on Ubuntu as it is included in the default repositories, use the following command to install cockpit,
apt update
apt install cockpit
Now, lets start the cockpit service,
systemctl start cockpit
and then check it's status,
systemctl status cockpit
Output:
root@ubuntu:~# systemctl status cockpit
● cockpit.service - Cockpit Web Service
Loaded: loaded (/lib/systemd/system/cockpit.service; static)
Active: active (running) since Fri 2023-04-21 19:08:51 UTC; 6s ago
TriggeredBy: ● cockpit.socket
Docs: man:cockpit-ws(8)
Process: 1740 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --fo>
Main PID: 1753 (cockpit-tls)
Tasks: 1 (limit: 3386)
Memory: 2.4M
CPU: 653ms
CGroup: /system.slice/cockpit.service
└─1753 /usr/lib/cockpit/cockpit-tls
Apr 21 19:08:50 ubuntu systemd[1]: Starting cockpit.service - Cockpit Web Servi>
Apr 21 19:08:50 ubuntu cockpit-certificate-ensure[1747]: /usr/lib/cockpit/cockp>
Apr 21 19:08:51 ubuntu cockpit-certificate-ensure[1748]: ...+........+......+.+>
Apr 21 19:08:51 ubuntu cockpit-certificate-ensure[1748]: ..+..+............+...>
Apr 21 19:08:51 ubuntu cockpit-certificate-ensure[1748]: -----
Apr 21 19:08:51 ubuntu systemd[1]: Started cockpit.service - Cockpit Web Service>
Now access your Ubuntu system via the Cockpit web interface via the address http://IP_ADDRESS:9090 .
Replace
IP_ADDRESS
with the actual IP Address of your Server