准备yum源:
fuel主机(10.20.0.2)主机是yum源之一,需要开启
将CentOS6-Base-163.repo 拷贝到目标主机的/etc/yum.repos.d/目录
设置上网环境:
在文件/etc/resolv.conf文件中增加: nameserver 61.139.2.69
controller节点:
rpm -q qemu-kvm virt-manager virt-viewer python-virtinst
yum install -y libvirt virt-install virt-manager virt-viewer
yum -y groupinstall Virtualization
yum -y groupinstall "Desktop"
yum -y groupinstall "X Window System"
安装完成后,直接运行:
virt-manager
compute节点:
yum install -y libvirt virt-install virt-manager virt-viewer
yum -y groupinstall "Desktop"
安装完成后,在controller中运行:
ssh -X -C 192.168.8.31(compute地址) virt-manager
时间: 2024-10-07 04:59:03