adjtimex(centos 安装在hyper-v里怎么安装集成服务包)

本文目录
centos 安装在hyper-v里怎么安装集成服务包
1、在Hyper-V控制台新建虚机,注意虚机的网卡先选择“旧版网络适配器”,主要是方便有关服务的网络在线安装。因为“网络适配器”在没有安装集成服务的情况下,是不能进行网络连接的。
2、到微软网站下载支持包,Linux Integration Services v2.1 for Windows Server 2008 Hyper-V R2
解压得到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
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.
包含一个可插入的时钟源模块,为了给(虚拟)客户机提供更准确的时间源。
linux系统时间
在对系统时间进行调整之前,首先系统时间的漂移率,可以通过简单命令来实现
#adjtimex --compare
直接给你个连接吧,按上面得操作就可以改过来
http://blog.mcuol.com/User/arborchina/Article/2751_1.htm

本文相关文章:
更多文章:
下载美图秀秀最新版(下载美图秀秀最新版安装到手机版安装不了)
2025年5月14日 01:42
英菲尼迪qx60属于什么级别的suv?英菲尼迪qx60用了什么发动机
2026年11月1日 04:50
逍遥笔手写输入法下载电脑版(逍遥笔手写输入法下载电脑版官方网)
2025年5月8日 05:12
pp助手5 0(怎么使用PP助手给iphone5下载安装游戏)
2025年5月15日 10:50
2022免费盗qq密码神器手机版(2021年免费盗qq密码神器手机版)
2025年5月28日 06:02
葡萄牙对摩洛哥比分预测(2018世界杯前瞻:葡萄牙VS摩洛哥c能否带队取首胜【图】)
2026年10月9日 18:20

















