2010-07-30

ntpdate

前些日子 qhe 说我在 github 上的 commit 时间有点错乱,我看了一下果然如此。三台虚拟机中最离谱的是我笔记本上vmware workstation里跑的 ArchLinux,`date’ 命令的显示结果和真实时间差了几乎两天。

网上搜了一下,vmware 官方有份文档写的很赞:
Timekeeping in VMware Virtual Machines

我的解决方法很省事,直接用ntp吧:


yaourt -S ntpdate

sudo ntpdate pool.ntp.org

标签:

0 Comments:

发表评论

<< Home