Hyper-V和vmware在虚拟机中安装xen总结
1. Hyper-V
在hyper-v中安装了ubuntu13.04,运行很好,使用起来的效果感觉比vmware要舒服。安装变异xen的内核也没有问题,可以正常的安装,update-grub之后也可以在grub启动项中发现带有xen内核的ubuntu启动选项,但是在启动之后无法进入系统,总是提示alert! /dev/disk/by-uuid/########### does not exist ,后来根据
http://blog.csdn.net/luohsh1/article/details/8657921
这篇文章里面介绍的方法来设置,重新启动之后提示 ALERT! /dev/sda1 does not exist. Dropping to a shell! 后面实在是不知道该怎么去处理了,只好放弃。后面上网稍微看了看hyper-v的架构,和xen十分类似,不知道是不是这个原因导致的。
如果有人看到这个地方,知道怎么回事的话请告知。
2. VmWare
在vmware中安装ubuntu13.04后,安装xen正常编译运行,安装方法如下:
Install dependencies
sudo apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif
sudo apt-get install texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial
sudo apt-get install make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev (we dont need libjpeg62-dev since libjpeg8-dev is already installed)
sudo apt-get install iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml ocaml-findlib libx11-dev bison flex xz-utils libyajl-dev
sudo apt-get install gettext
sudo apt-get install libpixman-1-dev
sudo apt-get install gcc-multilib
get xen4.3 source from http://www.xenproject.org/downloads/xen-archives/supported-xen-43-series/xen-430.html if your UI doesn't work well, use 'wget' or something else to download it
if using Chinese, these are to be added. It is recommended that you use English at the very beginning.
sudo export LC_ALL=C
sudo export LANG=C
once you have downloaded the source code, unzip it to some directory, for example "/home/yourname/myxenfile", then 'cd' to this directory and do the following
sudo ./configure --libdir=/usr/lib (setting the lib path while configuring. otherwise you may get the "*.so file not found" issue)
sudo make dist
sudo make install
sudo update-grub
sudo update-rc.d xencommons defaults 19 18
sudo update-rc.d xend defaults 20 21
sudo update-rc.d xendomains defaults 21 20
sudo update-rc.d xen-watchdog defaults 22 23
sudo reboot
choose xen kernel at the grub menu when booting
sudo xl list
if everything goes OK, you'll see dom0 is running
if your ubuntu is running within vmware, you may find the grub menu missing and can not choose xen kernel.
you can press the "Shift" button during the restart process, then you will see the grub menu. i.e., is your xen kernel the 1st(rank=0), 2nd(rank=1) or 3rd(rank=2) in the menu list? I guess most people will have rank=2 just as I do
sudo vi /etc/default/grub
you open this file and see GRUB_DEFAULT=0. Change it until it looks as GRUB_DEFAULT=2
sudo update-grub
OK, we have set your default boot to xen kernel. reboot and use 'sudo xl list' to see what happens
Tips: backup your vm before modifying grub if you are in vmware!!!
Hyper-V和vmware在虚拟机中安装xen总结的更多相关文章
- VMware workstation 虚拟机中安装乌班图及其兼容性问题
之前我在虚拟机中安装乌班图,是先安装好虚拟机,然后将预先下载好的乌班图镜像文件导入安装,这样安装起来还是有些繁琐的,中间要设置好多东西.今天领导给我拷了个虚拟机,还有乌班图的安装文件,是这样的. 对于 ...
- Vmware虚拟机中安装centos,并实现联网
1 安装所需要的软件 vmware workstation 12 永久激活码:5A02H-AU243-TZJ49-GTC7K-3C61N CentOS-7-x86_64-Minimal-1708 2 ...
- 如何在VMware ubuntu linux虚拟机中安装VMware tools
VMware Tools可以实现在主机<->虚拟机之间拷贝文字.文件等功能.本文讲述如何在VMware ubuntu linux虚拟机中安装VMware tools. 测试环境: VMwa ...
- 手把手教你在VMware虚拟机中安装Ubuntu14.04系统
在VMware中创建完虚拟机之后,一般需要给虚拟机安装系统,比较受青睐的系统有Ubuntu和Centos,关于Centos系统的安装之前已经写过了,感兴趣的小伙伴可以戳这篇文章:靠谱的centos7. ...
- 如何在VMware虚拟机中安装CentOS6.7系统(上篇)
之前给大家分享了在VMware中如何创建CentOS虚拟机,今天给大家分享一下如何在虚拟机中安装CentOS系统,以CentOS6.7系统为例,其他的系统版本也可以参考该教程进行类似处理,具体的流程如 ...
- 如何在VMware虚拟机中安装CentOS6.7系统(下篇)
上一篇文章讲到了CentOS6.7的安装教程,安装步骤到时区选择这块了,这篇文章接上篇文章,继续讲述CentOS6.7的安装教程,直至安装完成. 17.设置root的登录密码,日后登录虚拟机,用户名就 ...
- Linux环境搭建-在虚拟机中安装Centos7.0
最近在空闲时间学习Linux环境中各种服务的安装与配置,都属于入门级别的,这里把所有的学习过程记录下来,和大家一起分享. 我的电脑系统是win7,所以我需要在win7上安装一个虚拟机-VMware,然 ...
- VMware Workstation虚拟机中的Linux通过NAT模式共享上网配置教程
VMware Workstation虚拟机中的Linux通过NAT模式共享上网配置教程 在VMware Workstation虚拟机下面,Linux虚机要上网,一般是桥接模式,但我自己的电脑上网的环境 ...
- 在虚拟机中安装CentOS7
在虚拟机中安装CentOS7 听语音 | 浏览:17352 | 更新:2014-10-31 12:14 1 2 3 4 5 6 7 分步阅读 一键约师傅 百度师傅最快的到家服务,最优质的电脑清灰! 百 ...
随机推荐
- .Net Remoting编程 ---- 系列文章
.Net Remoting(应用程序域) - Part.1 摘要: 本文是.Net Remoting系列的第一篇文章,讲述了Remoting的“前驱知识点”--应用程序域.传值封送(Marshal b ...
- PHP Tools for VS2017 key/破解 [搬运]
看看结果 搬运地址 : (自己敲吧...) 这里面破解的只有一年 时间可以在文中提供的 ------------------------------------------------------- ...
- 前端mvc mvp mvvm 架构介绍(vue重构项目一)
首先 我们为什么重构这个项目 1:我们现有的技术是前后台不分离,页面上采用esayUI+jq构成的单页面,每个所谓的单页面都是从后台胜场的唯一Id 与前端绑定,即使你找到了那个页面元素,也找不到所在的 ...
- php排序集合
如果你已经使用了一段时间PHP的话,那么,你应该已经对它的数组比较熟悉了——这种数据结构允许你在单个变量中存储多个值,并且可以把它们作为一个集合进行操作. 经常,开发人员发现在PHP中使用这种数据结构 ...
- html 文字垂直居中
html 文字垂直居中 <span style="float:right; padding-right:30px;line-height:64px" class=" ...
- Apache+PHP多端口多站点
# # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the defaul ...
- php 语句块耗时性能测试
$t= microtime(true); ............................. echo microtime(true) - $t; 1查看从入口文件 ...
- mybatis配置ehcache缓存
1:在spring配置文件中加载缓存配置文件 <!-- 使用ehcache缓存 --> <bean id="ehCacheManager" class=" ...
- vsftpd设置被动模式
完整配置 listen=yes listen_port= max_clients= max_per_ip= local_max_rate= anonymous_enable=no local_enab ...
- Centos7 第三方仓库 yum 方式安装 PHP7.2
1.卸载原先安装的PHP yum remove php rpm -qa|grep php #列出所有的php相关的rpm包 rpm -e xxx #xxx指的是上一个命令列出的rpm包的包名,复制即可 ...