首先去微软下载集成服务http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=c1256a7f-8a2d-4b18-851c-63b22ca976d3&displaylang=zh-cn然后在hyper-v管理器中停到RedHat Enterprise Linux 6,并在设置中移除旧版网络适配器并添加新版的网络适配器,然后在DVD驱动器中挂载刚才下载的镜像,保存设置。启动linux。以root用户登录,此时执行ifconfig-a会出现如下结果lo Link encap:Local Loopbackinetaddr:127.0.0.1 Mask:255.0.0.0inet6addr: ::1/128 Scope:HostUPLOOPBACK RUNNING MTU:16436 Metric:1RXpackets:0 errors:0 dropped:0 overruns:0 frame:0TXpackets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0txqueuelen:0RXbytes:0 (0.0 b) TX bytes:0 (0.0 b)说明只有会换连接,没有可用的网卡。下面准备安装集成服务mkdir/mnt/cdrom(创建cdrom目录)mount/dev/cdrom /mnt/cdrom(挂载刚才挂载的镜像文件)cd/mnt/cdrom里面有两个目录x86和x86_64前者是32位操作系统用的后者是64位用的。执行arch命令出现i686说明是32的出现x86_64是64位的,根据自己的情况进入相应的目录(我的是32位的,进入X86目录)。rpm–ivh kmod-microsoft-hyper-v-rhel6-60.1.x86_64.rpmrpm–ivh microsoft-hyper-v-rhel6-60.1.i686.rpm安装完成后重启系统Reboot同样用root登录,执行ifconfig–a 显示如下结果eth2 Link encap:Ethernet HWaddr 00:15:5D:E8:D9:11inetaddr: 192.168.1.140 Bcast: 192.168.1.255 Mask:255.255.255.0inet6addr: 2001:da8:20c:502:215:5dff:fee8:d911/64 Scope:Globalinet6addr: fe80::215:5dff:fee8:d911/64 Scope:LinkUPBROADCAST RUNNING MULTICAST MTU:1500 Metric:1RXpackets:11202 errors:0 dropped:0 overruns:0 frame:0TXpackets:460 errors:0 dropped:0 overruns:0 carrier:0collisions:0txqueuelen:1000RXbytes:1147316 (1.0 MiB) TX bytes:67755 (66.1 KiB)lo Link encap:Local Loopbackinetaddr:127.0.0.1 Mask:255.0.0.0inet6addr: ::1/128 Scope:HostUPLOOPBACK RUNNING MTU:16436 Metric:1RXpackets:0 errors:0 dropped:0 overruns:0 frame:0TXpackets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0txqueuelen:0RXbytes:0 (0.0 b) TX bytes:0 (0.0 b)说明网卡已经成功被发现。配置网卡配置文件位置/etc/sysconfig/network-scripts/ifcfg-seth0。我的配置如下DEVICE=seth0BOOTPROTO=static(获取ip方式)IPADDR=192.168.1.140NETMASK=255.255.255.0GATEWAY=192.168.1.1ONBOOT=yes(开机自动激活)配置好后执行下列命令servicenetwork restart重启网络服务,至此可以不用旧版的网络适配器来连接linux了。注意:此集成服务支持的host主机??WindowsServer? 2008 Standard, Windows Server 2008 Enterprise, and WindowsServer2008 Datacenter (64-bit versions only)??Microsoft?Hyper-V Server 2008??WindowsServer? 2008 R2 Standard, Windows Server 2008 R2 Enterprise, andWindowsServer2008 R2 DatacenterNote??Microsoft?Hyper-V Server 2008 R2Supportedversions include those updated with Service Pack 1 or Service Pack 2,where available.此集成服务支持的guest主机Thisversion of Linux Integration Services supports the following guestoperating systems andvirtualCPU (vCPU) configurations:??RedHat Enterprise Linux 6.0 and 6.1 x86 and x64 (Up to 4 vCPU)??CentOS6.0 x86 and x64 (Up to 4 vCPU)Othersupported operating systems (including SUSE Linux Enterprise Server10 and Red HatEnterpriseLinux 5) should use the version of Linux Integration Servicesavailable athttp://www.microsoft.com/downloads/en/details.aspx?FamilyID=eee39325-898b-4522-9b4cf4b5b9b64551.RedHat Enterprise Linux 5安装Hyper-V的集成驱动(支持网络适配器 )红帽Linux启动流程详解相关资讯 redhat Hyper-V
- 微软用免费许可证引诱VMware用户切 (今 20:44)
- Microsoft Loves Linux— 探讨 (07月02日)
- 继开源.NET,微软推出Hyper-V (04/09/2015 09:20:52)
| - 在Hyper-V Linux VM该如何选择 (07月20日)
- Hyper-V:用于微软下一代云计算的 (04/14/2015 09:27:26)
- Hyper-V 怎样拷贝文件至虚拟硬盘并 (02/15/2015 11:59:58)
|
本文评论 查看全部评论 (0)