Manage Your AlmaLinux VPS Easily with Cockpit Web UI
If you're new to VPS or Linux administration, Cockpit is a powerful web-based tool that makes managing your AlmaLinux 9 server intuitive and accessible — no command line needed!
1. What is Cockpit?
Cockpit is an open-source management tool by Red Hat. It offers a modern web interface to:
2. Install Cockpit on AlmaLinux 9
- Update system:
sudo dnf update -y
- Install Cockpit:
sudo dnf install cockpit -y
- Open port 9090:
sudo firewall-cmd --permanent --add-service=cockpit
sudo firewall-cmd --reload - Enable Cockpit:
sudo systemctl enable --now cockpit.socket
3. Access the Cockpit Web Interface
Open your browser and go to:
https://your-vps-ip:9090
- Ignore SSL warning and continue
- Login using root or sudo-enabled user
4. Useful Features
Feature | Description |
---|---|
System | Overview of system resources |
Services | Manage services (start/stop) |
Logs | View system logs |
Terminal | Command line access via browser |
Networking | Manage network settings |
Storage | Disks and partitions |
5. Security Recommendations
- Create a non-root sudo user
- Restrict port 9090 access to your IP only
- Use a valid SSL certificate (Let's Encrypt)
Conclusion
Cockpit is a fantastic way to manage your AlmaLinux VPS with ease. Whether you’re a beginner or advanced user, it provides powerful features through a clean, browser-based interface.