环境: debian12 (bookworm)
Cockpit 是一个开源的Linux 服务器web管理工具,最近在调研虚拟机平台时发现这个项目,官方提供了基于qemu+libvirt开发的插件,在此做个使用记录
安装
# 添加backports源
echo "deb https://mirrors.cloud.tencent.com/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list
# 安装cockpit
apt update
apt install -t bookworm-backports cockpit
# 安装虚拟机插件,此插件依赖qemu、libvirt
apt install cockpit-machines
# 安装podman插件,管理容器
apt install cockpit-podman
启动
systemctl start cockpit
访问
- 浏览器打开 http://地址:9090
- 直接使用系统用户密码登录
- 若要使用 root 用户登录,注释掉文件
/etc/cockpit/disallowed-users里的root即可
官方文档:https://cockpit-project.org/running.html
其他插件:https://cockpit-project.org/applications.html
416

被折叠的 条评论
为什么被折叠?



