centos6.5Xen4.2安装
官方安装文档:http://xen.crc.id.au/support/guides/install/
一、环境说明
1. 本文采用CentOS6.5 x64,安装开发包及开发工具。
2. 关闭selinux
XenServer如何添加本地存储 http://www.linuxidc.com/Linux/2013-06/86433.htm
开启并配置Citrix XenServer的SNMP服务 http://www.linuxidc.com/Linux/2013-01/78487.htm
CentOS/Linux安装 XS-Tools (XenServer) http://www.linuxidc.com/Linux/2012-10/71607.htm
XenServer教程:XenCneter实现热迁移步骤 http://www.linuxidc.com/Linux/2012-10/71606.htm
二、开始安装
1. 安装bridge-utils package
[root@xen ~]# yum install bridge-utils
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
epel/metalink | 5.4 kB 00:00
* base: centos.ustc.edu.cn
* epel: mirror01.idc.hinet.net
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
base | 3.7 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.2 MB 01:07
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.7 MB 00:09
Setting up Install Process
Package bridge-utils-1.2-10.el6.x86_64 already installed and latest version
Nothing to do
2. 安装crc.id.au安装源
[root@xen ~]# yum install http://au1.mirror.crc.id.au/repo/kernel-xen-release-6-5.noarch.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* epel: mirror01.idc.hinet.net
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
kernel-xen-release-6-5.noarch.rpm | 10 kB 00:00
Examining /var/tmp/yum-root-myODPk/kernel-xen-release-6-5.noarch.rpm: kernel-xen-release-6-5.noarch
Marking /var/tmp/yum-root-myODPk/kernel-xen-release-6-5.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kernel-xen-release.noarch 0:6-5 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
kernel-xen-release noarch 6-5 /kernel-xen-release-6-5.noarch 3.5 k
Transaction Summary
================================================================================================================================================================================
Install 1 Package(s)
Total size: 3.5 k
Installed size: 3.5 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-xen-release-6-5.noarch 1/1
Verifying : kernel-xen-release-6-5.noarch 1/1
Installed:
kernel-xen-release.noarch 0:6-5
Complete!
[root@xen ~]#
3. 安装xen虚拟化
[root@xen ~]# yum install xen
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* epel: mirror01.idc.hinet.net
* extras: centos.ustc.edu.cn
* kernel-xen: au1.mirror.crc.id.au
* updates: centos.ustc.edu.cn
kernel-xen | 2.9 kB 00:00
kernel-xen/primary_db | 66 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xen.x86_64 0:4.2.4-4.el6 will be installed
base/filelists_db | 5.9 MB 00:14
epel/filelists_db | 8.7 MB 00:20
extras/filelists_db | 11 kB 00:00
kernel-xen/filelists_db | 821 kB 00:07
updates/filelists_db | 2.2 MB 00:03
--> Processing Dependency: xen-runtime = 4.2.4-4.el6 for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: xen-licenses = 4.2.4-4.el6 for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: xen-libs = 4.2.4-4.el6 for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: xen-hypervisor = 4.2.4-4.el6 for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: xen-doc = 4.2.4-4.el6 for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: yajl for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: libxenstore.so.3.0()(64bit) for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: libxenguest.so.4.2()(64bit) for package: xen-4.2.4-4.el6.x86_64
--> Processing Dependency: libxenctrl.so.4.2()(64bit) for package: xen-4.2.4-4.el6.x86_64
--> Running transaction check
---> Package xen-doc.x86_64 0:4.2.4-4.el6 will be installed
---> Package xen-hypervisor.x86_64 0:4.2.4-4.el6 will be installed
--> Processing Dependency: qemu-img for package: xen-hypervisor-4.2.4-4.el6.x86_64
---> Package xen-libs.x86_64 0:4.2.4-4.el6 will be installed
---> Package xen-licenses.x86_64 0:4.2.4-4.el6 will be installed
---> Package xen-runtime.x86_64 0:4.2.4-4.el6 will be installed
---> Package yajl.x86_64 0:1.0.7-3.el6 will be installed
--> Running transaction check
---> Package qemu-img.x86_64 2:0.12.1.2-2.415.el6_5.10 will be installed
--> Processing Dependency: libusbredirparser.so.1()(64bit) for package: 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64
--> Processing Dependency: libgfxdr.so.0()(64bit) for package: 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64
--> Processing Dependency: libgfrpc.so.0()(64bit) for package: 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64
--> Running transaction check
---> Package glusterfs-api.x86_64 0:3.4.0.57rhs-1.el6_5 will be installed
---> Package glusterfs-libs.x86_64 0:3.4.0.57rhs-1.el6_5 will be installed
---> Package usbredir.x86_64 0:0.5.1-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
xen x86_64 4.2.4-4.el6 kernel-xen 1.0 M
Installing for dependencies:
glusterfs-api x86_64 3.4.0.57rhs-1.el6_5 updates 55 k
glusterfs-libs x86_64 3.4.0.57rhs-1.el6_5 updates 240 k
qemu-img x86_64 2:0.12.1.2-2.415.el6_5.10 updates 596 k
usbredir x86_64 0.5.1-1.el6 base 40 k
xen-doc x86_64 4.2.4-4.el6 kernel-xen 989 k
xen-hypervisor x86_64 4.2.4-4.el6 kernel-xen 4.4 M
xen-libs x86_64 4.2.4-4.el6 kernel-xen 352 k
xen-licenses x86_64 4.2.4-4.el6 kernel-xen 52 k
xen-runtime x86_64 4.2.4-4.el6 kernel-xen 5.8 M
yajl x86_64 1.0.7-3.el6 base 27 k
Transaction Summary
================================================================================================================================================================================
Install 11 Package(s)
Total download size: 13 M
Installed size: 33 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): glusterfs-api-3.4.0.57rhs-1.el6_5.x86_64.rpm | 55 kB 00:00
(2/11): glusterfs-libs-3.4.0.57rhs-1.el6_5.x86_64.rpm | 240 kB 00:01
(3/11): qemu-img-0.12.1.2-2.415.el6_5.10.x86_64.rpm | 596 kB 00:03
(4/11): usbredir-0.5.1-1.el6.x86_64.rpm | 40 kB 00:00
(5/11): xen-4.2.4-4.el6.x86_64.rpm | 1.0 MB 00:06
(6/11): xen-doc-4.2.4-4.el6.x86_64.rpm | 989 kB 00:05
(7/11): xen-hypervisor-4.2.4-4.el6.x86_64.rpm | 4.4 MB 00:17
(8/11): xen-libs-4.2.4-4.el6.x86_64.rpm | 352 kB 00:02
(9/11): xen-licenses-4.2.4-4.el6.x86_64.rpm | 52 kB 00:01
(10/11): xen-runtime-4.2.4-4.el6.x86_64.rpm | 5.8 MB 00:50
(11/11): yajl-1.0.7-3.el6.x86_64.rpm | 27 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 122 kB/s | 13 MB 01:52
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 5838f88d: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kernel-xen
Importing GPG key 0x5838F88D:
Userid : Steven Haigh <netwiz@crc.id.au>
Package: kernel-xen-release-6-5.noarch (@/kernel-xen-release-6-5.noarch)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-kernel-xen
Is this ok [y/N]: y
Retrieving key from http://www.crc.id.au/repo/RPM-GPG-KEY-kernel-xen
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : yajl-1.0.7-3.el6.x86_64 1/11
Installing : glusterfs-libs-3.4.0.57rhs-1.el6_5.x86_64 2/11
Installing : glusterfs-api-3.4.0.57rhs-1.el6_5.x86_64 3/11
Installing : usbredir-0.5.1-1.el6.x86_64 4/11
Installing : 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64 5/11
Installing : xen-hypervisor-4.2.4-4.el6.x86_64 6/11
Installing : xen-doc-4.2.4-4.el6.x86_64 7/11
Installing : xen-4.2.4-4.el6.x86_64 8/11
在 xen-watchdog 服务中读取信息时出错:没有那个文件或目录
Installing : xen-licenses-4.2.4-4.el6.x86_64 9/11
Installing : xen-libs-4.2.4-4.el6.x86_64 10/11
Installing : xen-runtime-4.2.4-4.el6.x86_64 11/11
Verifying : xen-licenses-4.2.4-4.el6.x86_64 1/11
Verifying : 2:qemu-img-0.12.1.2-2.415.el6_5.10.x86_64 2/11
Verifying : xen-4.2.4-4.el6.x86_64 3/11
Verifying : xen-hypervisor-4.2.4-4.el6.x86_64 4/11
Verifying : glusterfs-libs-3.4.0.57rhs-1.el6_5.x86_64 5/11
Verifying : yajl-1.0.7-3.el6.x86_64 6/11
Verifying : glusterfs-api-3.4.0.57rhs-1.el6_5.x86_64 7/11
Verifying : xen-runtime-4.2.4-4.el6.x86_64 8/11
Verifying : xen-doc-4.2.4-4.el6.x86_64 9/11
Verifying : xen-libs-4.2.4-4.el6.x86_64 10/11
Verifying : usbredir-0.5.1-1.el6.x86_64 11/11
Installed:
xen.x86_64 0:4.2.4-4.el6
Dependency Installed:
glusterfs-api.x86_64 0:3.4.0.57rhs-1.el6_5 glusterfs-libs.x86_64 0:3.4.0.57rhs-1.el6_5 qemu-img.x86_64 2:0.12.1.2-2.415.el6_5.10 usbredir.x86_64 0:0.5.1-1.el6
xen-doc.x86_64 0:4.2.4-4.el6 xen-hypervisor.x86_64 0:4.2.4-4.el6 xen-libs.x86_64 0:4.2.4-4.el6 xen-licenses.x86_64 0:4.2.4-4.el6
xen-runtime.x86_64 0:4.2.4-4.el6 yajl.x86_64 0:1.0.7-3.el6
Complete!
[root@xen ~]#
查看安装
[root@xen ~]# ls -l /boot/xen.gz
lrwxrwxrwx 1 root root 12 8月 5 10:13 /boot/xen.gz -> xen-4.2.4.gz
[root@xen ~]#
[root@xen ~]#
更多详情见请继续阅读下一页的精彩内容: http://www.linuxidc.com/Linux/2014-08/105554p2.htm
centos6.5Xen4.2安装的更多相关文章
- 最新版CentOS6.5上安装部署ASP.NET MVC4和WebApi
最新版CentOS6.5上安装部署ASP.NET MVC4和WebApi 使用Jexus5.8.1独立版 http://www.linuxdot.net/ ps:该“独立版”支持64位的CentOS ...
- CentOS6.3编译安装Memcached
要用到如下源码包: /usr/local/src/memcached/libevent-2.0.21-stable.tar.gz /usr/local/src/memcached/memcached- ...
- CentOS6.3编译安装Memcached的PHP客户端memcache
在安装Memcached的PHP客户端memcache之前,可先看下先前的工作笔记: PHP5不重新编译,如何安装自带的未安装过的扩展,如soap扩展? 安装PHP的memcache扩展 cd /us ...
- CentOS6.3编译安装Nginx1.4.7 + MySQL5.5.25a + PHP5.3.28
[准备工作] #在编译安装lnmp之前,首先先卸载已存在的rpm包. rpm -e httpd rpm -e mysql rpm -e php yum -y remove httpd yum -y r ...
- 【PHP升级】CentOS6.3编译安装 PHP5.4.38
先前安装的PHP5.3.28(参考:CentOS6.3编译安装Nginx1.4.7 + MySQL5.5.25a + PHP5.3.28),现在准备升级PHP到5.4.38,有如下几个地方需要重新编译 ...
- CentOS6.3 编译安装LAMP(1):准备工作
卸载yum或rpm安装的amp软件 #在编译安装lamp之前,首先先卸载已存在的rpm包. rpm -e httpd rpm -e mysql rpm -e php yum -y remove htt ...
- CentOS6.3 编译安装LAMP(2):编译安装 Apache2.2.25
所需源码包: /usr/local/src/Apache-2.2.25/httpd-2.2.25.tar.gz 编译安装 Apache2.2.25 #切换到源码目录 cd /usr/local/src ...
- CentOS6.3 编译安装LAMP(2):编译安装 Apache2.4.6
Apache官方说: 与Apache 2.2.x相比,Apache 2.4.x提供了很多性能方面的提升,包括支持更大流量.更好地支持云计算.利用更少的内存处理更多的并发等.除此之外,还包括性能提升.内 ...
- CentOS6.3 编译安装LAMP(3):编译安装 MySQL5.5.25
所需源码包: /usr/local/src/MySQL-5.5.25/cmake-2.8.8.tar.gz /usr/local/src/MySQL-5.5.25/mysql-5.5.25.tar.g ...
随机推荐
- standford工具-parser
stanford自然语言处理开源了很多工具,很实用也很方便,记录下来,以备后用. 第一篇就从句法分析开始吧(所用的平台都是java+eclipse). <一>操作 1.http://www ...
- AngularJs基础总结(1.4版本)
注明:现在用的是最新的1系列1.4版本. 一.细节方面入手: 1,ng-app根节点,一般别写在html上面,最多也就写在body就行了,因为我们难免会忘记这个写在哪里,然后复制一些案例代码却总报错. ...
- POJ 1905 Expanding Rods
Expanding Rods Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 1 ...
- 【bzoj4027】[HEOI2015]兔子与樱花
题目描述 很久很久之前,森林里住着一群兔子.有一天,兔子们突然决定要去看樱花.兔子们所在森林里的樱花树很特殊.樱花树由n个树枝分叉点组成,编号从0到n-1,这n个分叉点由n-1个树枝连接,我们可以把它 ...
- Ubuntu 14 编译安装 PHP 5.4.45 + Nginx 1.4.7 + MySQL 5.6.26 笔记
Ubuntu 14 编译安装 PHP 5.4.45 + Nginx 1.8.0/1.4.7 + MySQL 5.6.26 笔记,主要是给自己的PC机安装,非生产环境! 一.下载必要的源码 1.1.下 ...
- mongodb python image 图像存储读取
最近做一些数据库调研的工作,目标是实现影像更快的入库.出库.查询,并实现并行访问等操作. 将结果总结成一个mongoImg类,也算是小结吧. ''' Created on 2013-8-6 class ...
- saltstack 入门命令
master服务启动 CentOS 7 (Debian.OpenSuse.Fedora) systemctl start salt-master /etc/init.d/salt-master sta ...
- Java 7 Concurrency Cookbook 翻译 序言
在日常的Java代码开发过程中,很难免地有对多线程的需求,掌握java多线程和并发的机制也是Java程序员写出更健壮和高效代码的基础.笔者找寻国内已出版的关于Java多线程和并发的的中文书籍和翻译书籍 ...
- iOS开发——UI进阶篇(七)程序启动原理、打电话、发短信
一.Info.plist常见的设置 1.建立一个工程后,会在Supporting files文件夹下看到一个“工程名-Info.plist”的文件,该文件对工程做一些运行期的配置,非常重要,不能删除 ...
- 上传源码到github
到 http://mac.github.com/ 下载 github mac客户端 然后左上角 + 号, 点击add 添加 repository(代码仓库), 然后选择已有git项目, 然后点击右上角 ...