How to Enable Cockpit Server Manager in Rocky Linux 8
What is Cockpit?
Cockpit is a lightweight, web-based server management tool that allows system administrators to monitor and manage Linux servers through an intuitive graphical interface. It supports tasks like managing services, monitoring system performance, starting and stopping containers, and administering storage.
Prerequisites
Before proceeding, ensure the following:
-
You are using Rocky Linux 8.
-
You have sudo or root privileges.
-
The system is connected to the internet for package installation.
- Port 9090 is open in your firewall to access the Cockpit web interface.
Install Cockpit
Run the following command to install Cockpit,
yum install cockpit -y
Enable and start Cockpit.
systemctl start cockpit.socket
systemctl enable --now cockpit.socket
This ensures that Cockpit starts automatically on boot.
Access Cockpit Web Interface
Open your web browser and navigate to,
https://<SERVER_IP>:9090
Note: Replace
<SERVER_IP>
with actual IP Address
Log in to Cockpit
You’ll see the Cockpit login screen. Use your system credentials to log in. Root or a user with sudo privileges is recommended for full access.
Explore the Cockpit Dashboard
Conclusion
Cockpit is a powerful and user-friendly tool that makes server administration accessible and efficient, even for those less familiar with the command line. By following the steps above, you’ve enabled a secure and convenient web interface for managing your Rocky Linux 8 system. Whether you're a system admin or a developer, Cockpit simplifies many routine tasks and provides real-time insights into system performance and health.
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