windows 2008 R2 Hyper-v 安装Centos 5
2011-03-29 17:24
543 查看
1、在Hyper-V控制台新建虚机,注意虚机的网卡先选择“旧版网络适配器”,主要是方便有关服务的网络在线安装。
2、到微软网站下载支持包,Linux Integration Services v2.1 for Windows Server 2008 Hyper-V R2
http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551
解压得到LinuxIC v21.iso文件
3、以最小化方式安装Centos,除了必要的组件,其它不安装。
4、Centos安装完成后根据自己的网络环境配置网络,配置好后要能顺利的访问外网资源
(1)配置IP
vi /etc/sysconfig/network-script/ifcfg-eth0
根据自己的环境来配置IP和子网掩码
(2)配置网关
在ifcfg-eth0添如如下命令
GATEWAY=你的网关地址
(3)配置DNS
编辑/etc/resolv.conf文件,添如如下命令
nameserver 你的DNS服务器地址
(4)重启网络服务,测试外网的访问。
service network restart
5、网络安装以下组件命令如下:
yum install make kernel-devel gcc perl –y
6、加载Hyper-v支持文件如下图:
7、把光盘的文件复制到硬盘进行编译,我的环境如下
mount /dev/cdrom /mnt
mkdir /root/hyper-v
cp –R /mnt/* /root/hyper-v
cd /root/hyper-v
rm /lib/modules/2.6.18-164.el5/build
ln –s /usr/src/kernels/2.6.18-128.1.16.el5-x86_64/ /lib/modules/2.6.18-128.el5/build
make
make install
reboot
8、安装成功后把“旧版网络适配器”删除,添加新的“网络适配器”在Centos下重新配置网络环境,以达到最佳性能。
Hyper-V 虚拟机的 Linux 集成服务 v2.1 新特性有
Driver support for synthetic devices: Linux Integration Services supports the synthetic network controller and the synthetic storage controller that were developed specifically for Hyper-V.
Fastpath Boot Support for Hyper-V([b]Fastpath 引导支持[/b]): Boot devices take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance.
Timesync(时间同步): The clock inside the virtual machine will remain synchronized with the clock on the host.
Integrated Shutdown(集成关机): Virtual machines running Linux can be gracefully shut down from either Hyper-V Manager or System Center Virtual Machine Manager.
Symmetric Multi-Processing (SMP) Support(对称多线程处理支持): Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine.
Heartbeat(运行状态): Allows the host to detect whether the guest is running and responsive.
Pluggable Time Source(可插入的时钟源): A pluggable clock source module is included to provide a more accurate time source to the guest.
详细参考http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551#Overview
2、到微软网站下载支持包,Linux Integration Services v2.1 for Windows Server 2008 Hyper-V R2
http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551
解压得到LinuxIC v21.iso文件
3、以最小化方式安装Centos,除了必要的组件,其它不安装。
4、Centos安装完成后根据自己的网络环境配置网络,配置好后要能顺利的访问外网资源
(1)配置IP
vi /etc/sysconfig/network-script/ifcfg-eth0
根据自己的环境来配置IP和子网掩码
(2)配置网关
在ifcfg-eth0添如如下命令
GATEWAY=你的网关地址
(3)配置DNS
编辑/etc/resolv.conf文件,添如如下命令
nameserver 你的DNS服务器地址
(4)重启网络服务,测试外网的访问。
service network restart
5、网络安装以下组件命令如下:
yum install make kernel-devel gcc perl –y
6、加载Hyper-v支持文件如下图:
7、把光盘的文件复制到硬盘进行编译,我的环境如下
mount /dev/cdrom /mnt
mkdir /root/hyper-v
cp –R /mnt/* /root/hyper-v
cd /root/hyper-v
rm /lib/modules/2.6.18-164.el5/build
ln –s /usr/src/kernels/2.6.18-128.1.16.el5-x86_64/ /lib/modules/2.6.18-128.el5/build
make
make install
reboot
8、安装成功后把“旧版网络适配器”删除,添加新的“网络适配器”在Centos下重新配置网络环境,以达到最佳性能。
Hyper-V 虚拟机的 Linux 集成服务 v2.1 新特性有
Driver support for synthetic devices: Linux Integration Services supports the synthetic network controller and the synthetic storage controller that were developed specifically for Hyper-V.
Fastpath Boot Support for Hyper-V([b]Fastpath 引导支持[/b]): Boot devices take advantage of the block Virtualization Service Client (VSC) to provide enhanced performance.
Timesync(时间同步): The clock inside the virtual machine will remain synchronized with the clock on the host.
Integrated Shutdown(集成关机): Virtual machines running Linux can be gracefully shut down from either Hyper-V Manager or System Center Virtual Machine Manager.
Symmetric Multi-Processing (SMP) Support(对称多线程处理支持): Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine.
Heartbeat(运行状态): Allows the host to detect whether the guest is running and responsive.
Pluggable Time Source(可插入的时钟源): A pluggable clock source module is included to provide a more accurate time source to the guest.
详细参考http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551#Overview
相关文章推荐
- windows 2008 R2 Hyper-v 安装Centos 6
- Hyper-V 安装Windows 2008,08 R2,12 R2 无网卡驱动的解决办法
- 2008 R2 Hyper-V安装Centos
- windows 2008 hyper-v 下安装centos系统识别不到网卡
- 2008 R2 Hyper-V安装Centos网卡驱动
- Windows 2008 R2 Hyper-v 2.0安装和入门配置
- CentOS 6.2 安装在WIN 2008 R2 服务器Hyper-V虚拟机
- 2008 R2 Hyper-V安装Centos网卡驱动
- VMware Workstation虚拟机12.5.7安装windows_server_2008_r2_standard_x64
- windows 2008 R2 SP1 安装10.2.0.4 64位oracle
- windows 2008 r2 安装php5.5+mysql+mssql+sqlsrv
- Thinkpad T410 安装Windows Server 2008 R2 启用Hyper-v蓝屏故障解决方法
- Windows 2008 R2安装.NET Framework 4提示灾难性故障解决方法
- Windows 2008 r2 安装SQL Server 2008 性能计数器注册表配置单元一致性
- Windows 2008 R2 64位上安装wamp失败的原因
- 在windows 2008 R2中安装Rational rose 2007 (7.0)完美破解方法
- Windows 2008 R2 core 安装并远程管理IIS服务
- windows server 2008 R2 和windows 7 安装telnet服务
- Windows Server 2008 R2 Hyper-V提供对CentOS的支持