手动安装cockpit(linux web consol)

Fedora安装

安装cockpit:

sudo dnf install cockpit

开启cockpit:

sudo systemctl enable --now cockpit.socket

加入防火墙策略

sudo firewall-cmd --add-service=cockpit
sudo firewall-cmd --add-service=cockpit --permanent

CentOS 7.x:

安装cockpit:

sudo yum install cockpit

开启cockpit:

sudo systemctl enable --now cockpit.socket

加入防火墙策略:

sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload

 

debian 9:

  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
原文地址:https://www.cnblogs.com/surplus/p/14055053.html