一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

轉(zhuǎn)發(fā):在Ubuntu11.10上安裝Xen 4.0

 waders 2011-12-04

Setup your cloud server in 3 minutes with Xen 4.1 on Ubuntu 11.10

Ubuntu support xen officially since 11.10. It is really easy to install the packages. Although some issues should be fixed manually, it is a painless experience. Here’s the steps to setup your cloud server in 3 minutes with Xen 4.1 on Ubuntu 11.10.


1. Install xen hypervisor and utilities
sudo apt-get install xen-hypervisor-4.1-amd64 xen-utils-4.1 xenwatch xen-tools xen-utils-common xenstore-utils

sudo apt-get install virtinst virt-viewer virt-manager

2. Restart os, choose the xen kernel, verify xen installation
# xm info
# brctl show

3. Config your xend 
$ sudo vim /etc/xen/xend-config.sxp

comment out (xend-unix-server yes) at the file, that means make sure the following line exists or been added :
(xend-unix-server yes)

#vi ~/.bashrc , add the following line:

export VIRSH_DEFAULT_CONNECT_URI="xen:///"

4. Restart, choose the xen kernel, and verify libvirt

# virsh version

Compiled against library: libvir 0.8.3
Using library: libvir 0.8.3
Using API: Xen 3.0.1
Running hypervisor: Xen 4.0.0

Conguratulations, all packages installed successfully.

5. Run virtual machine manager to manage your vms.

# virt-manager

Then you will see the screen virtual machine manager screen:

virtual machine manager for xen 4.1 in ubuntu 11.10

virtual machine manager for xen 4.1 in ubuntu 11.10

Create virtual machine in virt-manager,

error occur when finish creation, and show something like:
if ret is None:raise libvirtError(‘virDomainCreateLinux() failed’, conn=self)
….
/usr/lib64/xen/bin/qemu-dm: ….

that means qemu-dm could not be found, try to fix it:

#mkdir /usr/lib64/xen -p
#cp /usr/lib/xen-4.1/* -r /usr/lib64/xen/

then continue to finish creation of the virtual machine, still error occured, and show something like:
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err …
or something like this:

libvirtError: POST操作失敗: xend_post:來自 xen 守護(hù)進(jìn)程的錯誤:<Fault 3: ”>

check the error log,  it will give you some clues:
# less /var/log/xen/xend.log

the log shows error occured and logged at /var/log/xen/qemu-dm-demo.log, check it:
# less /var/log/xen/qemu-dm-demo.log

it says /usr/share/qemu/keymaps/en-us could not be found, the keymaps really does not exist in my disk.
and find it at /usr/share by :
#ls /usr/share/qemu (and press Tab, it shows qemu-linaro exist)

so just copy it to fix:
#cp -r /usr/share/qemu-linaro/ /usr/share/qemu

then continue to finish the vm creation. Wow, it works!

virutal machine running at ubuntu 11.10 with xen 4.1

virutal machine running at ubuntu 11.10 with xen 4.1





Digg This
Reddit This
Stumble Now!
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
This entry was posted in cloudlinuxvirtualization. Bookmark the permalink.

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多

    成人精品一区二区三区在线| 日韩成人动画在线观看| 69精品一区二区蜜桃视频| 视频在线免费观看你懂的 | 成人午夜爽爽爽免费视频| 国产精品欧美在线观看| 国产激情一区二区三区不卡| 99香蕉精品视频国产版| 九九视频通过这里有精品| 亚洲精品高清国产一线久久| 有坂深雪中文字幕亚洲中文| 一区二区三区在线不卡免费| 绝望的校花花间淫事2| 中文字幕亚洲精品人妻| 亚洲成人精品免费在线观看| 欧美字幕一区二区三区| 又色又爽又黄的三级视频| 视频在线播放你懂的一区| 五月情婷婷综合激情综合狠狠 | 国产精品香蕉一级免费| 色综合久久中文综合网| 午夜福利国产精品不卡| 亚洲欧美日韩中文字幕二欧美| 中文字幕日韩无套内射| 久久99青青精品免费| 欧美日本精品视频在线观看| 中文字幕在线区中文色| 老司机激情五月天在线不卡| 午夜直播免费福利平台| 在线免费观看黄色美女| 91久久精品在这里色伊人| 精品国自产拍天天青青草原 | 欧美国产日韩变态另类在线看| 日本精品中文字幕人妻| 一本色道久久综合狠狠躁| 91午夜少妇极品福利| 丝袜视频日本成人午夜视频| 老司机亚洲精品一区二区| 午夜精品黄片在线播放| 日本加勒比在线观看一区| 日本人妻丰满熟妇久久|