Faruque Ahmed : MCP, MCSA, MCSE, MCTS, MCIT, CCNA, OCA, OCP, GCP
Cockpit comes installed by default in Fedora Server.
To install Cockpit on other variants of Fedora use the following commands. For the latest versions use COPR.
Install cockpit:Cockpit is available in Red Hat Enterprise Linux 7 and later.
On RHEL 7, enable the Extras repository.RHEL 8 does not need any non-default repositories.
The standard Fedora CoreOS image does not contain Cockpit packages.
Install Cockpit packages as overlay RPMs:Depending on your configuration, you may want to use other cockpit-* extensions as well, such as cockpit-kdump or cockpit-networkmanager.
If you have a custom-built OSTree, simply include the same packages in your build.
Reboot
Steps 1 and 2 are enough when the CoreOS machine is only connected to through another host running Cockpit.
If you want to also run a web server to log in directly on the CoreOS host:
Enable password based SSH logins, unless you only use SSO logins:Afterward, use a web browser to log into port 9090 on your host IP address as usual.
Cockpit is available in CentOS 7 and later:
Install cockpit:These commands require a POSIX compatible shell like bash. For other shells like fish, temporarily run bash -i.
Cockpit is available in Debian since version 10 (Buster).
To get the latest version, we recommend to enable the backports repository (as root):When updating Cockpit-related packages and any dependencies, make sure to use -t ...-backports as above, so backports are included.
These commands require a POSIX compatible shell like bash. For other shells like fish, temporarily run bash -i.
Cockpit is available in Ubuntu, with updated versions in official backports for LTS releases.
We recommend installing or updating the latest version from backports. This repository is enabled by default, but if you customized apt sources you might need to enable them manually.
. /etc/os-releasesudo apt install -t ${VERSION_CODENAME}-backports cockpitWhen updating Cockpit-related packages and any dependencies, make sure to use -t ...-backports as above, so backports are included.
Cockpit is available in Arch Linux:
sudo pacman -S cockpitsudo systemctl enable --now cockpit.socketIf the first command fails with “database file for … does not exist”, refresh/update your system with sudo pacman -Syu first.
Cockpit is in Clear Linux OS and can be installed using swupd:
sudo swupd bundle-add sysadmin-remotesudo systemctl enable --now cockpit.socketCockpit is available in both openSUSE Tumbleweed and openSUSE Leap starting by 15.6:
Install cockpit:Cockpit is included in SUSE Linux Enterprise (SLE) Micro 5.x.
Install cockpit (already present in the pre-built images):Access through the web interface:
https://IP_ADDRESS_OF_MACHINE:9090