Xen - 安装

本文档介绍了如何在Debian 8和9上安装Xen虚拟机,包括更新软件源,安装依赖,从源代码编译Xen,配置Grub以及启动Xen服务的详细步骤。按照官方指导,执行一系列apt-get install命令以获取所需软件,然后通过git clone获取Xen源代码并完成编译和安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Xen - 安装


1,一台64位的主机 + debain 9 (scrath,也就是稳定版) + xen 4.11.0
Note1:经过无数次测试,debian系统源码编译安装xen会遇到的问题很少,所以推荐,当然如果你熟悉其他操作系统你也可以尝试。而xen的版本选择看自己,可以直接git最新版本,不过老版本对一些机器可能会有硬件上的不支持,这里的问题有待挖掘。
Note2:在 /etc/apt/sources.list 挂载一个合适的国内源
debian8 stable
deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

debian8 testing
deb http://mirrors.163.com/debian/ testing main non-free contrib
deb http://mirrors.163.com/debian/ testing-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ testing main non-free contrib
deb-src http://mirrors.163.com/debian/ testing-updates main non-free contrib
deb http://mirrors.163.com/debian-security/ testing/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ testing/updates main non-free contrib

debian8 unstable(sid)
deb http://mirrors

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值