Cockpit is a Web-based management tool (similar to Webmin) and is available for CentOS and RHEL systems. As of recent CentOS 8 and RHEL 8 are released with cockpit installed by default. Its package is available in the default CentOS 8 and RHEL 8 package repositories. Cockpit is a useful Web based GUI tool through which sysadmins can monitor and manage their Linux servers, it can also use to manage networking and storage on servers, containers, virtual machines and inspections of system and application’s logs.

Installation of Cockpit on CentOS 8 is simple.

1. ) First you’ll need to login to SSH or use our HTML Serial Console.

2.) At the command prompt type:

[root@vpscheap ~]# dnf install cockpit -y

3.) Once dnf has installed the package, you can enable it by doing the following:

{root@vpscheap ~]# systemctl start cockpit.socket
[root@vpscheap ~]# systemctl enable cockpit.socket

4.) Open it up to the default firewall, the port for cockpit will generally be 9090

[root@vpscheap ~]# firewall-cmd --permanent --add-service=cockpit
[root@vpscheap ~]# firewall-cmd --reload

5.) Check to see if its running:

[root@vpscheap ~]#  systemctl status cockpit
● cockpit.service - Cockpit Web Service
   Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)
   Active: active (running) since Thu 2020-07-09 16:04:15 EDT; 1s ago
     Docs: man:cockpit-ws(8)
  Process: 17219 ExecStartPre=/usr/sbin/remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type=etc_t (code=exited, status=0/SUCCESS)
 Main PID: 17221 (cockpit-ws)
   CGroup: /system.slice/cockpit.service
           └─17221 /usr/libexec/cockpit-ws

Now that it is installed and running, visit the Cockpit GUI at https://<IP>:9090/ – replace <IP> with the IP address of your VPS or server. Enjoy using this wonderful GUI!

More information about the Cockpit Project can be found at