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.

  1. Install cockpit:
    sudo dnf install cockpit
    
  2. Enable cockpit:
    sudo systemctl enable --now cockpit.socket
    
  3. 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:

  1. Enable the Extras repository:
    sudo subscription-manager repos --enable rhel-7-server-extras-rpms
    
  2. Install cockpit:
    sudo yum install cockpit
    
  3. Enable cockpit:
    sudo systemctl enable --now cockpit.socket
    
  4. 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:

  1. Run the Cockpit web service container:
    sudo atomic run cockpit/ws
    

Cockpit is included in CentOS 7.x:

  1. Install cockpit:
    sudo yum install cockpit
    
  2. Enable cockpit:
    sudo systemctl enable --now cockpit.socket
    
  3. Open the firewall if necessary:
    sudo firewall-cmd --permanent --zone=public --add-service=cockpit
    sudo firewall-cmd --reload
    

Cockpit is included in Debian 9 (Stretch) and unstable.

  1. For Debian 9 you have to enable the backports repository:
    echo 'deb http://deb.debian.org/debian stretch-backports main' > \
     /etc/apt/sources.list.d/backports.list
    apt-get update
    
  2. Install the package:
    sudo apt-get install cockpit
    

For Debian 8 (Jessie) you can add a repository which always has the latest Cockpit release:

  1. Add the repository:
    echo 'deb http://repo-cockpitproject.rhcloud.com/debian/ jessie main' > \
     /etc/apt/sources.list.d/cockpit.list
    
  2. Import Cockpit’s signing key to the apt sources keyring:
    sudo apt-key adv --keyserver sks-keyservers.net --recv-keys 0D2A45C3F1BAA57C
    
  3. Verify fingerprint:
    sudo apt-key finger F1BAA57C
    

    Compare the output: Key fingerprint = FD9A 5764 17F7 B1D8 63C4 7A5A 0D2A 45C3 F1BA A57C

  4. Update package information with that source:
    sudo apt-get update
    
  5. 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.

  1. 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+