Ubuntu
sudo apt-get install -y libguestfs-tools qemu-kvm libvirt-bin virtinst bridge-utils
Centos6
yum -y install kvm python-virtinst libvirt tunctl bridge-utils virt-manager qemu-kvm-tools virt-viewer virt-v2v
目前virt-manager在centos6中的0.9.0-34版本有小問題,建議使用0.9.0-31
Centos7
sudo yum -y install qemu-kvm libvirt libvirt-python libguestfs-tools virt-install
Ubuntu將用戶加入到虛擬化用戶組
sudo adduser XXX libvirt-qemu
centos將用戶加入到虛擬化用戶組
sudo adduser XXX kvm