目次

09 CentOS7 Cockpit

Install

yum -y install cockpit-docker cockpit
yum -y install cockpit-machines libvirt-dbus virt-install
yum -y install libvirt-daemon-kvm.x86_64

Start

systemctl start cockpit
systemctl enable cockpit.socket
systemctl start libvirtd
systemctl enable libvirtd

Firewall

firewall-cmd --add-port=9090/tcp --permanent
firewall-cmd --reload

Web UI

下記でアクセスできる
ログインは、サーバログインと同じ

https://[server IP]:9090

Error

# virsh domcapabilities
error: failed to get emulator capabilities
error: invalid argument: unable to find any emulator to serve 'x86_64' architecture

対応

libvirt-daemon-kvm.x86_64をインストールしたら治りました。

yum -y install libvirt-daemon-kvm.x86_64