1、kvm虚拟机已经用 virsh命令装好了
2、 WebVirtMgr的安装步骤完全参照此处:
https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr
3、KVM被管理端配置 (我是本机)
vi /etc/sysconfig/libvirtd LLIBVIRTD_CONFIG=/etc/libvirt/libvirtd.conf LIBVIRTD_ARGS="--listen" vi /etc/libvirt/libvirtd.conf listen_tls = 0 listen_tcp = 1 tcp_port = "16509" listen_addr = "0.0.0.0" auth_tcp = "none"然后重启服务,登录即可。
service libvirtd restart
同时也参考了:
https://www.cnblogs.com/kevingrace/p/5737724.html
https://www.cnblogs.com/kevingrace/p/5739009.html
// 问题,用tcp方式配置好以后,过一会儿就出错:
Cannot recv data: Connection reset by peer
vim /etc/libvirt/libvirtd.conf
max_clients = 200 // 看日志是这个值太小了,默认20,改大