古詩詞大全網 - 成語經典 - centos 安裝在hyper-v裏怎麽安裝集成服務包

centos 安裝在hyper-v裏怎麽安裝集成服務包

1、在Hyper-V控制臺新建虛機,註意虛機的網卡先選擇“舊版網絡適配器”,主要是方便有關服務的網絡在線安裝。因為“網絡適配器”在沒有安裝集成服務的情況下,是不能進行網絡連接的。

2、到微軟網站下載支持包,Linux Integration Services v2.1 for Windows Server 2008 Hyper-V R2

/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551

解壓得到LinuxIC v21.iso文件,該ISO文件即是我們需要的Hyper-V上的相關硬件的驅動。

3、保證網絡的暢通,安裝下述組件[當然也可以用安裝光盤進行安裝]

view plain copy# yum install gcc make kernel-devel -y

如果是64位系統,則還要安裝額外的adjtimex包,因此執行下面的安裝命令:

view plain copy# yum install gcc make kernel-devel adjtimex -y

4、在Hyper-V控制臺上,將LinuxIC v21.iso鏡像文件放入系統的光驅中,然後SSH登陸到系統中,將光盤mount到/media/目錄下

view plain copy# mount /dev/cdrom /media/ mount: block device /dev/cdrom is write-protected, mounting read-only

5、開始安裝Linux Integration Services

view plain copy# cd ~ # mkdir linuxIC_v2.1 # cp -R /media/* ~/linuxIC_v2.1/ # cd ~/linuxIC_v2.1 # make # make install # reboot

6、系統重啟之後,執行ip addr命令,會看到seth0這個網絡接口,該網絡接口就是文章的壹開始提到的,需要安裝集成服務才能使用的“網絡適配器”,也說明Linux Integration Services在妳的虛擬服務器上安裝成功了。此時也就可是使用“網絡適配器”,以使妳的系統達到最佳性能。

view plain copy# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: seth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:15:5d:81:04:3c brd ff:ff:ff:ff:ff:ff inet 10.36.128.97/24 brd 10.36.128.255 scope global seth0 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:15:5d:81:04:3d brd ff:ff:ff:ff:ff:ff inet 10.36.128.6/24 brd 10.36.128.255 scope global eth0

7、下面是我翻譯的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.

Linux集成服務支持虛擬網絡適配器和虛擬存儲控制器(只SCSI控制器),該集成服務是針對Hyper-V進行開發的。

② Fastpath Boot Support for Hyper-V [Fastpath引導支持]

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.

無論是從Hyper-V管理器還是從系統虛擬機管理中心,都可以正常關閉正在運行Linux系統的虛擬機。

⑤ Symmetric Multi-Processing (SMP) Support [對稱多線程處理支持]

Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine.

對應運行Linux發行版本的虛擬機,每個虛擬機可以支持4個虛擬處理器(VP)。

⑥ 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.

包含壹個可插入的時鐘源模塊,為了給(虛擬)客戶機提供更準確的時間源。