服務器底層系統:Windows Server 2008 R2 Enterprise
虛擬機操作系統:Red Hat Enterprise Linux Server release 5 (Tikanga)
Linux version 2.6.18-8.el5
1.創建虛擬機
Hyper-v 控制檯-->新建-->虛擬機-->下一步
指定虛擬機名稱與存放目錄
分配內存
配置網絡
創建虛擬磁盤,分配磁盤大小
虛擬機系統安裝方式
完成配置嚮導,開始安裝操作系統
2.Configuring the Virtual Machine Network
Hyper-V Manager, edit the settings of your new RHEL or CentOS virtual machine, and add a Network Adapter (in addition to the Legacy Network Adapter you already have) and a SCSI Controller with a Hard Drive attached to it. Ensure the Network Adapter is assigned to the virtual network that contains your physical external network card.
3.啓動虛擬機,配置IP,服務器可以正常連接
[root@localhost ~]# ping www.baidu.com
PING www.a.shifen.com (61.135.169.105) 56(84) bytes of data.
64 bytes from 61.135.169.105: icmp_seq=1 ttl=49 time=2.65 ms
64 bytes from 61.135.169.105: icmp_seq=2 ttl=49 time=2.78 ms
網絡配置參考:
http://www.jules.fm/Logbook/files/win2008_linuxic_rc2_rhel.html