所需组件

1. 防火墙管理功能

firewalld

2. 主程序

cockpit

3. 虚拟机管理功能

cockpit-machines
cockpit-machines-ovirt

4. 容器管理功能

cockpit-podman

5. 等等

cockpit-storaged
cockpit-composer
cockpit-dashboard
cockpit-doc
cockpit-docker
cockpit-kubernetes
cockpit-machines
cockpit-packagekit
cockpit-pcp
cockpit-subscriptions
cockpit-tests


安装组件

# 安装 Cockpit 及全部插件
dnf -y install cockpit cockpit-bridge cockpit-composer \
  cockpit-dashboard cockpit-machines cockpit-packagekit \
  cockpit-pcp cockpit-podman cockpit-session-recording \
  cockpit-storaged cockpit-system cockpit-ws --allowerasing
dnf -y install sos virt-install

# 启动 Cockpit
systemctl status cockpit.socket
systemctl start cockpit.socket
systemctl enable cockpit.socket

# 添加防火墙规则
firewall-cmd --permanent --zone=public --add-service=cockpit
firewall-cmd --reload

使用Cockpit Web Console

# 编辑文件
vi /etc/cockpit/cockpit.conf
[WebService]
AllowUnencrypted=true

参考资料:

cockpit_web_console_centos8

1666118979367180810

在Cockpit中执行存储管理任务的方法