- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
如何禁止VMware虚拟机与Host的时间同步
如何禁止VMware虚拟机与Host的时间同步
1. 查看虚拟机是否安装了 VMware Tools, 如果有安装,则将 VMware Tools 属性窗口的“选项”--“其他选项”中“虚拟机与宿主机操作系统时间同步(T)”前面的勾去掉,点击确定。
2. 关闭虚拟机(是关机,而非休眠),关闭 VMware Workstation。
3. 查看宿主机中的服务中是否有名称为 “VMware Tools Service” 的服务,如果有,则禁用该服务。
4. 用记事本打开 .vmx 文件,如“F:/My Virtual Machines/Red Hat Enterprise Linux 4/Red Hat Enterprise Linux 4.vmx”
5. 将如下配置项的值改为 FALSE
[javascript]view plaincopyprint?
tools.syncTime = FALSE
time.synchronize.continue = FALSE
time.synchronize.restore = FALSE
time.synchronize.resume.disk = FALSE
time.synchronize.shrink = FALSE
time.synchronize.tools.startup = FALSE
tools.syncTime = FALSE time.synchronize.continue = FALSEtime.synchronize.restore = FALSE time.synchronize.resume.disk = FALSEtime.synchronize.shrink = FALSE time.synchronize.tools.startup = FALSE
6. 如果需要设置虚拟机的启动时间,则修改配置项 rtc.startTime 的值,该配置项的值是从 1970 年 1 月 1 日 0 时 0 分 0 秒到当前时间的秒数。
如,将 rtc.startTime 的值设置为 1218182888 后,重新启动虚拟机时,虚拟机的时间将被设置为 2008 年 8 月 8 日 8 时 8 分 8 秒
[javascript]view plaincopyprint?
rtc.startTime = 1218182888
rtc.startTime = 1218182888
可以通过这个网址将某个时间转换为 UNIX 时间戳:/unix_time.htm
7. 运行 VMware Workstation,启动虚拟机。
附 1:如果是 virtual pc 2007,则用记事本打开 .vmc 文件(virtual pc 2007 的配置文件),将 host_time_sync 下 enabled 的值改为 false,如:
[xhtml]view plaincopyprint?
integration
microsoft
then add the following codes
components
host_time_sync
enabled type=booleanfalse/enabled
/host_time_sync
/components
…… ……
integration microsoft then add the following codes components host_time_sync enabled type=booleanfalse/enabled /host_time_sync /components …… ……
附 2:对 .vmx 文件中修改的几个配置项的说明(参考于 /files/pdf/Timekeeping-In-VirtualMachines.pdf 第 17 页):
tools.syncTimeIf set to TRUE, the clock syncs periodically.time.synchronize.continue If set to TRUE, the clock syncs after taking a snapshot. time.synchronize.restore If set to TRUE, the clock syncs after reverting to a snapshot. time.synchronize.resume.disk If set to T
文档评论(0)