Managing servers with the Cockpit admin tool
Cockpit Modules
Like many other software packages, Cockpit has a modular architecture, with a set of officially supported core modules and guidelines to develop and install third party modules, or addons. All the functions shown or described in this tutorial come from core modules that are not mandatory but are either included in the Cockpit basic packages for CentOS and Ubuntu or are declared as dependencies. These modules were therefore automatically installed by apt-get or yum. Third-party packages are another story: the documentation might not be up to date, and they might not work without debugging and manual fixes that you may or may not be able to afford. For example, I downloaded the Cockpit module for RSS feeds and placed it into the required Cockpit subfolder (addons), as explained in the documentation, but nothing happened.
Conclusion
Some Cockpit modules and documentation pages could benefit from a bit more attention, but that is no reason to avoid Cockpit. Webmin might offer finer control, and the command line might be more flexible, but Cockpit provides a nice, quick, user-friendly and mobile-friendly way to monitor and configure your physical or virtual Linux systems from the tab of any modern web browser. Cockpit is also useful as an aid for Linux trainers. A Cockpit dashboard is an effective way to monitor and configure all the computers in a Linux class, as well as a good tool for teaching about Linux configuration.
Infos
- Linuxconf page on Wikipedia: https://en.wikipedia.org/wiki/Linuxconf
- Webmin: https://www.webmin.com
- Cockpit website: https://cockpit-project.org
- Cockpit ideals: https://cockpit-project.org/ideals
- Ansible: https://www.ansible.com
- Puppet: https://www.puppet.com
- Systemd sockets: https://www.freedesktop.org/software/systemd/man/systemd.socket.html
- Cockpit security: https://cockpit-project.org/blog/is-cockpit-secure.html
- Relocatable URLs for Cockpit: https://github.com/cockpit-project/cockpit/issues/3323
- Cockpit behind nGinx: https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-nginx
- Cockpit behind Apache: https://github.com/cockpit-project/cockpit/wiki/Proxying-Cockpit-over-Apache-with-LetsEncrypt
- How to avoid root login: https://github.com/cockpit-project/cockpit/issues/1790
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.