This article provides a guide demonstrating how to install and configure Cockpit LDAP dashboard on Rocky Linux VPS.
How to Install and Configure Cockpit LDAP Dashboard on Rocky Linux 9 / CentOS Stream 9
Problem: Customer could not find the LDAP dashboard installer package for Cockpit using a direct RPM link, and encountered missing module errors during installation.
Resolution Steps
- Install the 389 Directory Server base package:
sudo dnf install -y 389-ds-base - Enable the COPR repository for Cockpit LDAP dashboard:
sudo dnf copr enable @389ds/389-directory-server -y - Install the Cockpit LDAP management module:
sudo dnf install -y cockpit-389-ds
Post-Installation Configuration
- Log in to Cockpit as administrator.
- Navigate to Cockpit Settings → Authentication/User Authentication → Add/Edit.
- Choose "LDAP" as the authentication method.
- Configure LDAP settings using the provided fields.
- Confirm the connection is working correctly.
- You should then be able to access the Cockpit dashboard with LDAP overview and management capabilities.
Important Notes
- Ensure all LDAP prerequisites are met before configuring, such as proper hostnames.
- The
dnf module enable 389-ds -ycommand may not be required in all environments; if it causes errors ("missing groups or modules: 389-ds"), skip this step and use the steps above directly. - Using the COPR repository method is recommended over direct RPM downloads, as it provides easier future version management and updates.
Troubleshooting Tips
- If installation fails, run
dnf list installedanddnf repolistto verify your repositories are configured correctly. - Always ensure you're using compatible packages for your OS version (e.g., Rocky Linux 9.x or CentOS Stream 9).

👀 Choose SSD-powered VPS servers for increased speed, power, and security! Now 50% off- starting from only $3.19/mo.
