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

相关文章:

  • 2021-11-03
  • 2022-01-04
  • 2021-05-25
  • 2022-01-18
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-09
  • 2022-12-23
  • 2021-11-17
  • 2021-10-28
  • 2022-12-23
  • 2021-06-20
  • 2021-12-16
相关资源
相似解决方案