天天看點

xen運用

實驗過程

xen的建立

配置yum源

[server]

name=server

baseurl=file:///misc/cd/Server

enable=1

gpgcheck=0

[VT]

name=xen

baseurl=file:///misc/cd/VT

[root@localhost media]# yum -y install xen

[root@localhost media]# yum install libvirt libvirt-python python-virtinst virt-manager virt-viewer -y

安裝

架設nfs以便在xen安裝過程中,友善使用

[root@localhost media]# vim /etc/exports

/media *(ro)

圖形界面管理xen

[root@localhost ~]# virt-manager &

[1] 4048

[root@localhost ~]#

[1]+ Done virt-manager

安裝過程中,需要指定 安裝源,格式如下

nfs://127.0.0.1:/media