How to Enable Cockpit Server Manager in Rocky Linux 10

Cockpit is an easy-to-use, powerful remote manager for GNU/Linux servers. It provides an interactive administration interface through a web browser and allows you to manage various server aspects like services, storage, system logs, and even a terminal session.

Check for System Updates

Update the system to the latest packages:

dnf update

Install Cockpit Server Manager

Install the Cockpit package:

dnf install cockpit

Check the latest versions here: Cockpit Project

Enable Cockpit Service

Enable and start the Cockpit service immediately:

systemctl enable --now cockpit.socket

Allow Cockpit Through the Firewall

Run the following commands to allow Cockpit through the system firewall:

firewall-cmd --permanent --zone=public --add-service=cockpit
firewall-cmd --reload

If you see the following warning:

[root@server ~]# firewall-cmd --permanent --zone=public --add-service=cockpit
Warning: ALREADY_ENABLED: cockpit    success

You can safely ignore it and proceed.

Create a New Admin User

useradd -m -s /bin/bash adminuser
passwd adminuser
usermod -aG wheel adminuser

Access Cockpit in Your Browser

Open the following URL in your browser:

https://YOUR-VPS-IP-ADDRESS:9090

Replace YOUR-VPS-IP-ADDRESS with your server’s actual IP address.

You may encounter an SSL certificate warning — you can proceed or set up a valid certificate using Let's Encrypt.

You will be presented with a login screen. Enter your server's root username and password (or any user with admin privileges).

Username: adminuser

Password: (you just set)

Notes

  • If the page appears blank in Chrome, it's likely due to the self-signed SSL certificate. Try opening it in Firefox instead.
  • You can later secure Cockpit with a proper domain and certificate.

Cockpit Dashboard Overview

Once logged in, you will be able to:

  • View CPU, memory, and disk usage
  • Manage software updates
  • Monitor system logs
  • Use the built-in terminal
  • Add more machines for management

Done

You’ve now successfully installed and accessed the Cockpit Server Manager on Rocky Linux 10.


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