Hyper-V中安装Linux的集成服务3.2

首先大家去以下网址下载最新的Linux Integration Services Version v3.2 for Hyper-V

http://www.microsoft.com/zh-cn/download/details.aspx?id=28188

先介绍在redhat6.0下面安装Hyper-V的集成服务,

1.首先插入Linux Integration Services Version v3.2 for Hyper-V

<a href='http://img1.51cto.com/attachment/201207/004722819.jpg' target='_blank'><img src='http://img1.51cto.com/attachment/201207/004722819.jpg' border='0'  alt='插入Linux Integration Services Version v3.2 for Hyper-V' /></a>

2. 然后在hyper-v管理器中停止RedHat Enterprise Linux 6.x或是centos6.x,并在设置中移除旧版网络适配器并添加新版的网络适配器,然后在DVD驱动器中挂载刚才下载的镜像,保存设置。启动linux。

3. 以root用户登录,此时执行ifconfig -a会出现如下结果

lo Linkencap:Local Loopback

inetaddr:127.0.0.1 Mask:255.0.0.0

inet6addr: ::1/128 Scope:Host

UPLOOPBACK RUNNING MTU:16436 Metric:1

RXpackets:0 errors:0 dropped:0overruns:0 frame:0

TXpackets:0 errors:0 dropped:0overruns:0 carrier:0

collisions:0txqueuelen:0

RXbytes:0 (0.0 b) TX bytes:0 (0.0 b)

说明只有回环连接,没有可用的网卡。

4. 下面准备安装集成服务

打开终端执行下面的命令

mkdir   /mnt/cdrom

mount   /dev/cdrom     /mnt/cdrom(挂载刚才挂载的镜像文件)

cd/mnt/cdrom

./install.sh

安装完成后重启系统

Reboot

5. 同样用root登录,执行ifconfig –a 显示如下结果

 

eth2 Linkencap:Ethernet HWaddr 00:15:5D:E8:D9:11

inetaddr: 192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0

inet6addr:2001:da8:20c:502:215:5dff:fee8:d911/64 Scope:Global

inet6addr:fe80::215:5dff:fee8:d911/64 Scope:Link

UPBROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RXpackets:11202 errors:0 dropped:0overruns:0 frame:0

TXpackets:460 errors:0 dropped:0overruns:0 carrier:0

collisions:0txqueuelen:1000

RXbytes:1147316 (1.0 MiB) TX bytes:67755 (66.1 KiB)

 

lo Linkencap:Local Loopback

inetaddr:127.0.0.1 Mask:255.0.0.0

inet6addr: ::1/128 Scope:Host

UPLOOPBACK RUNNING MTU:16436 Metric:1

RXpackets:0 errors:0 dropped:0 overruns:0frame:0

TXpackets:0 errors:0 dropped:0overruns:0 carrier:0

collisions:0txqueuelen:0

RXbytes:0 (0.0 b) TX bytes:0 (0.0 b)

说明网卡已经成功被发现。

6. 配置网卡

配置文件位置/etc/sysconfig/network-scripts/ifcfg-seth0。我的配置如下

DEVICE=seth0

BOOTPROTO=static(获取ip方式)

IPADDR=192.168.1.106(按照自己的需求设置)

NETMASK=255.255.255.0

GATEWAY=192.168.1.1

ONBOOT=yes(开机自动激活)

配置好后执行下列命令service network restart重启网络服务,至此可以不用旧版的网络适配器来连接linux了。

注意:

此集成服务支持的host主机

Windows Server® 2008 Standard, Windows Server 2008 Enterprise, andWindows

Server 2008 Datacenter (64-bit versions only)

Microsoft® Hyper-V Server 2008

Windows Server® 2008 R2 Standard, Windows Server 2008 R2Enterprise, and Windows

Server 2008 R2 Datacenter 

Microsoft® Hyper-V Server 2008 R2

Note

Supported versions include those updated with Service Pack 1 orService Pack 2, where available.

此集成服务支持的guest主机

Red Hat Enterprise Linux 6.0 and 6.1 x86 and x64 (Up to 4 vCPU)

CentOS 6.0 x86 and x64 (Up to 4 vCPU)

 

你可能感兴趣的:(安装,border,target,blank,的)