Running Cockpit
If you already have Cockpit on your server, point your web browser to: https://ip-address-of-machine:9090
Use your system user account and password to log in. See the guide for more info.
Stable, tested, and included in
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:
sudo dnf install cockpit
- Enable cockpit:
sudo systemctl enable --now cockpit.socket
- Open the firewall if necessary:
sudo firewall-cmd --add-service=cockpit sudo firewall-cmd --add-service=cockpit --permanent
Cockpit is included in the Red Hat Enterprise Linux Extras repository in versions 7.1 and later:
- Enable the Extras repository:
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
- Install cockpit:
sudo yum install cockpit
- Enable cockpit:
sudo systemctl enable --now cockpit.socket
- Open the firewall if necessary:
sudo firewall-cmd --add-service=cockpit sudo firewall-cmd --add-service=cockpit --permanent
Connect to an Atomic Host from another instance of Cockpit with the Add Server dashboard UI.
Alternatively you can access Cockpit directly on the Atomic Host if SSH password authentication is enabled:
- Run the Cockpit web service container:
sudo atomic run cockpit/ws
Cockpit is included in CentOS 7.x:
- Install cockpit:
sudo yum install cockpit
- Enable cockpit:
sudo systemctl enable --now cockpit.socket
- Open the firewall if necessary:
sudo firewall-cmd --permanent --zone=public --add-service=cockpit sudo firewall-cmd --reload
Cockpit is included in Debian unstable.
- Install the package:
sudo apt-get install cockpit
For Debian Jessie (8.x) you can add a repository which always has the latest Cockpit release:
- Add the following line to .
deb http://repo-cockpitproject.rhcloud.com/debian/ jessie main
- Import Cockpit’s signing key to the apt sources keyring:
sudo apt-key adv --keyserver sks-keyservers.net --recv-keys 0D2A45C3F1BAA57C
- Verify fingerprint:
sudo apt-key finger F1BAA57C
Compare the output: Key fingerprint = FD9A 5764 17F7 B1D8 63C4 7A5A 0D2A 45C3 F1BA A57C
- Update package information with that source:
sudo apt-get update
- Install cockpit:
sudo apt-get install cockpit
Cockpit is included in Ubuntu 17.04 and later, and available as an official backport for 16.04 LTS and later. Backports are enabled by default, but if you customized apt sources you might need to enable them manually.
- Install the package:
sudo apt-get install cockpit
Less tested and irregularly updated
Cockpit can be found in the Arch User Repository as package cockpit.
Minimum client browser versions
- Mozilla Firefox 11+
- Internet Explorer 10+
- Apple iOS Safari 6.1+
- Google Chrome 16+
- Opera 21.1+
- Android Browser 4.4+