2008 R2 Hyper-V安装Centos网卡驱动

简介:
1、在Hyper-V控制台新建虚机,注意虚机的网卡先选择“旧版网络适配器”,主要是方便有关服务的网络在线安装。

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

http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551

解压得到LinuxIC v21.iso文件

3、以最小化方式安装Centos,除了必要的组件,其它不安装。

4、Centos安装完成后根据自己的网络环境配置网络,配置好后要能顺利的访问外网资源

(1)配置IP

vi /etc/sysconfig/network-script/ifcfg-eth0

根据自己的环境来配置IP和子网掩码

(2)配置网关

在ifcfg-eth0添如如下命令

GATEWAY=你的网关地址

(3)配置DNS

编辑/etc/resolv.conf文件,添如如下命令

nameserver 你的DNS服务器地址

(4)重启网络服务,测试外网的访问。

service network restart

5、网络安装以下组件命令如下:

yum install make kernel-devel gcc perl –y


6、把光盘的文件复制到硬盘进行编译,我的环境如下

mount /dev/cdrom /mnt

mkdir /root/hyper-v

cp –R /mnt/* /root/hyper-v

cd /root/hyper-v

rm /lib/modules/2.6.18-164.el5/build
ln –s /usr/src/kernels/2.6.18-128.1.16.el5-x86_64/ /lib/modules/2.6.18-128.el5/build

make

make install

reboot


8、安装成功后把“旧版网络适配器”删除,添加新的“网络适配器”在Centos下重新配置网络环境,以达到最佳性能。


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.

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.

Symmetric Multi-Processing (SMP) Support(对称多线程处理支持): Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine.

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.


 



本文转自 freeterman 51CTO博客,原文链接:http://blog.51cto.com/myunix/1095075,如需转载请自行联系原作者

相关文章
|
22小时前
|
Linux
centos 6.5安装yum
centos 6.5安装yum
6 0
|
1天前
|
运维 网络协议 Linux
【运维系列】Centos7安装并配置PXE服务
PXE是Intel开发的预启动执行环境,允许工作站通过网络从远程服务器启动操作系统。它依赖DHCP分配IP,DNS服务分配主机名,TFTP提供引导程序,HTTP/FTP/NFS提供安装源。要部署PXE服务器,需关闭selinux和防火墙,安装dhcpd、httpd、tftp、xinetd及相关服务,配置引导文件和Centos7安装源。最后,通过syslinux安装引导文件,并创建pxelinux.cfg/default配置文件来定义启动参数。
5 0
|
1天前
|
运维 网络协议 Linux
【运维系列】Centos7安装并配置postfix服务
安装CentOS7的Postfix和Dovecot,配置Postfix的`main.cf`文件,包括修改完全域名、允许所有IP、启用邮箱等。然后,配置Dovecot的多个配置文件以启用auth服务和调整相关设置。重启Postfix和Dovecot,设置开机自启,并关闭防火墙进行测试。最后,创建邮箱账户并在Windows邮箱客户端中添加账户设置。
8 0
|
1天前
|
Linux 网络安全
Centos6.5安装并配置NFS服务
该内容描述了在Linux系统中设置NFS服务的步骤。首先挂载yum源,然后安装NFS服务,并编辑配置文件。接着,重启rpcbind和NFS服务,可能需要重复此过程以解决初始可能出现的问题。此外,关闭防火墙策略,并再次重启服务。最终,根目录被共享,特定IP网段被允许访问。
6 0
|
2天前
|
存储 Linux 网络安全
centos7使用yum网络安装
这些是使用Yum进行网络安装的基本步骤。根据你的需求,你可以重复步骤3和4来安装其他软件包。请注意,执行Yum操作需要root或具有sudo权限的用户。
14 1
|
8天前
|
关系型数据库 MySQL Linux
centos7安装mysql-带网盘安装包
centos7安装mysql-带网盘安装包
51 2
|
14天前
|
网络协议
centos8 网卡 Nmcli(是network的简写 Nmcli)配置网络
centos8 网卡 Nmcli(是network的简写 Nmcli)配置网络
15 0
|
2月前
|
缓存 关系型数据库 MySQL
百度搜索:蓝易云【CentOS8服务器安装MySQL报错:no match mysql-community-server】
现在,你已经成功安装了MySQL服务器并解决了"no match mysql-community-server"的报错问题。祝你使用愉快!
43 1
|
4月前
|
Linux Shell Swift
django(二)centos安装django3.2报错SQLite 3.8.3 or later is required (found 3.7.17)
我正在参加「掘金·启航计划」 Centos安装diango3.2框架请参照《django(一)ubuntu18.04安装框架》 在运行: 复制代码 python3 manage.py runserver 0.0.0.0:81 的时候报错: swift 复制代码 django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17). 报错的大体意思是:对sqlite最低版本的需求的3.8.3,但是现在只找到了3.7.17。
33 1
|
5月前
Cannot download repomd.xml解决CentOS8 yum安装AppStream报错
Cannot download repomd.xml解决CentOS8 yum安装AppStream报错