Hyper-V install RHEL integration service
Problem description: After installing RedHat in Hyper-V, we found that the graphic interface could not use the mouse and could not load the NIC.
Solution: (REHL5.7, 5.8, 6.0.1.2, and 6.3 only)
1. download and install the Hyper-V integration service ,:
Http://www.microsoft.com/zh-cn/download/details.aspx? Id = 34603
2. Mount the downloaded image file to the server, go to the relevant directory, and find the corresponding version for installation:
[Root @ localhost ~] # Mount/dev/cdrom/mnt/
Mount: block device/dev/cdrom is write-protected, mounting read-only
[Root @ localhost ~] # Cd/mnt/RHEL58/
[Root @ localhost RHEL58] # ls
Install-rhel58.sh LICENSE_GPL lis-58
[Root @ localhost RHEL58] #./install-rhel58.sh
3. After the installation is complete, shut down the VM and modify the external connection mode for enabling Hyper-V.
Set Virtual Machine Nic
Start the VM again and add a new Nic
At this time, the eth0 Nic has been loaded successfully. You can use the eth0 Nic information correctly.
Appendix:
For versions earlier than 5.6, follow these steps:
1. Download the driver
Download two linux-ic.iso inputvsc. iso files
Linux-ic.iso? Id = 24247
The file .exe is downloaded. You need to install it on the local hard disk to generate Linuxic_v21.iso.
Inputsvc. iso: http://www.xen.org/files/Satori/inputvsc.iso
Download it directly.
Linux IC is an integrated service package used in Linux. The current versions include 2.0, 2.1, and 3.2. It should be noted that the latest version is the best, as if it was based on the system version of the guest computer, for example, Version 2.1 is applicable to version 5.2, 5.3, 5.4, and 3.2 of RedHat Linux, and version is more suitable for version 6 of RedHat Linux. Therefore, you can choose based on your own needs. Here I select version 2.1.
2. Install Linuxic_v21
Load the Linuxic_v21.ISO File
By default, the GUI is input at startup. ALT + CTRL + F1 is used to enter the command interface.
Run the df command to confirm that the optical drive is not mounted. If there is a mount, run the umount command to detach it;
Mkdir/mnt/cdrom
Mount/dev/cdrom/mnt/cdrom
Mkdir/opt/linux_ic_v21_rtm
Cp-R/mnt/cdrom/*/opt/linux_ic_v21_rtm
Cd/opt/linux_ic_v21_rtm/
Make
Make install
Reboot
3. Install xorg-x11-server-sdk
Load the RH5.5E installation disc
Mkdir/mnt/cdrom
Mount/dev/cdrom/mnt/cdrom
Cd/mnt/cdrom/Server
Now you can get a lot of rpm packages by ls.
Rpm-ivh xorg-x11-server-sdk-1.1.1-48.67.el5.i386.rpm
4. Install inputvsc. iso
Mkdir/tmp/inputvsc
Cp-rp/media/CDROM/*/tmp/inputvsc
Cd/tmp/inputvsc
./Setup. pl