Categories
Linux Uncategorized

Install Cockpit on Linux

CentOS

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

    Ubuntu

    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

    Source: https://cockpit-project.org/running