免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1860 | 回复: 1

虚拟主机与主机时间同步 [复制链接]

论坛徽章:
0
发表于 2008-09-10 14:56 |显示全部楼层
VMware Tools Properties 窗口。
在 Options 选项卡下,选择 Time synchronization between the virtual machine and the host operating system。

编辑 /boot/grub/grub.conf,并将选项“clock=pit nosmp noapic nolapic” 添加到读取内核 /boot/ 的那一行。
#boot=/dev/sda
default=0
timeout=5 8
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Enterprise (2.6.9-42.0.0.0.1.ELsmp) root (hd0,0) kernel /boot/vmlinuz-2.6.9-42.0.0.0.1.ELsmp ro root=LABEL=/ rhgb quiet clock=pit nosmp noapic nolapic initrd
/boot/initrd-2.6.9-42.0.0.0.1.ELsmp.img

两者时间还是差了几秒,还有啥办法吗

论坛徽章:
0
发表于 2008-09-10 16:37 |显示全部楼层
差几秒很正常啊
要不两者都同步国家时间服务器吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP