准备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
本文出自 “yuweibing的技术博客” 博客,请务必保留此出处http://yuweibing.blog.51cto.com/3879355/1656452
原文地址:http://yuweibing.blog.51cto.com/3879355/1656452