Install the NIC driver for CentOS Linux system under Hyper-V

Source: Internet
Author: User
Tags centos

The solution is to install the Linux Integration Services Version v3.2 for Hyper-V tool (download address): After downloading it is an ISO document that hangs under the Linux virtual optical drive to execute the installation command:

1. Download Microsoft virtual machine Linux Integration Service Pack Linux Integration Services v3.2

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

2. Load CD image

"Media"-"DVD drive"-"Insert Disk" Select the ISO file that you just downloaded, load the disc image

3. Mount CD image and install

# Mount/dev/cdrom/media

# Cd/media

#./install.sh

4. Network card, DNS related configuration

# vi/etc/sysconfig/network

The contents are as follows:

Networking=yes

Networking_ipv6=no

Hostname=cnyunwei.com

# Vi/etc/sysconfig/network-scripts/ifcfg-eth0

The contents are as follows:

Device=eth0

Onboot=yes

ipaddr=192.168.0.88

netmask=255.255.255.0

gateway=192.168.0.1

# vi/etc/resolv.conf

The contents are as follows:

NameServer 8.8.8.8

5, reboot the system to enable the network card

# reboot

After restarting the system, you can view the IP just configured via ifconfig.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.