安装libvirt-0.8.1
yum install gnutls-devel
yum install hal-devel
./configure --prefix=/usr --with-libvirtd --libdir=/usr/lib64 --with-remote-pid-file=/var/run/libvirtd.pid --with-sasl --sysconfigdir=/etc --docdir=/usr/share/doc/libvirt --with-network --with-xen --with-xen-inotify --with-qemu --with-uml --with-test --with-init-script=redhat --with-python --with-hal
make
make install
# vi /etc/libvirt/libvirtd.conf
listen_tls=0
listen_tcp = 1
auth_tcp = "sasl"
# vi /etc/sysconfig/libvirtd
LIBVIRTD_ARGS="--listen"
# service libvirtd restart
# saslpasswd2 -a libvirt xen
# sasldblistusers2 -f /etc/libvirt/passwd.db
阅读(2313) | 评论(1) | 转发(0) |