免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2157 | 回复: 0
打印 上一主题 下一主题

Install Xen3.3 on CentOS5 and ubuntu [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-15 11:16 |只看该作者 |倒序浏览
本帖最后由 accessory 于 2010-06-15 11:18 编辑

Ref:

Ubuntu:
http://www.howtoforge.com/ubuntu ... ubuntu-repositories
http://bderzhavets.blogspot.com/ ... 200805-domu-at.html
http://bderzhavets.wordpress.com ... y-dom0-2624-21-xen/

CentOS 5
http://robinbowes.com/article.php/20081023014423777
http://bderzhavets.blogspot.com/2008/08/install-xen-3.html
http://book.xen.prgmr.com/mediawiki/index.php/3.3

Comiple xen 3.3 on CenOS 5
Ref: http://www.nikhef.nl/pub/project ... on_CentOS_5_-_Notes
1. download two tar files from xen.org
2. Install mercurial src code version manager

wget http://www.selenic.com/mercurial/release/mercurial-0.9.5.tar.gz
tar xvfz mercurial-0.9.5.tar.gz
cd mercurial*
make install
export PYTHONPATH=/usr/local/lib/python2.4/site-packages:${PYTHONPATH}
(if not export that environment variable, you will get an error as this: ImportError: No module named mercurial).

3. Install prerequested packages:


yum install \
gcc make zlib-devel zlib python-devel curses libncurses-devel ncurses-devel openssl openssl-devel \
`yum search xorg-x11|grep dev|grep x86_64|awk -F . '{print $1}'` \
bridge-utils tetex tetex-latex transfig libtool-ltdl dev86 glibc-devel


( for i386 version, replace x86_64 with i386)

4. tar xzf xen*, cd xen*, make world
5. cd dist, sh ./install.sh
6. disable tls:
Put this in /etc/ld.so.conf.d/xen.conf:

# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 set in their hwcap match
# fields. In Xen guest kernels, the vDSO tells the dynamic linker to
# search in nosegneg subdirectories and to match this extra hwcap bit
# in the ld.so.cache file.
hwcap 0 nosegneg

Note that the file name _must_ end ".conf". When you've done that, run
/sbin/ldconfig and reboot. The problem should go away.

7. reboot
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP