虚拟机时间同步14 Aug 04:09:18 ntpdate[2941]: no server suitable for synchronization found

因为虚拟机经常挂起,所以需要时间同步

[root@slave1 /root]$ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

cp: overwrite `/etc/localtime'? y

[root@slave1 /root]$ ntpdate -u ntp.api.bz

14 Aug 19:28:06 ntpdate[4362]: adjust time server 182.92.12.11 offset 0.477687 sec

posted @ 2018-08-14 19:39  bioamin  阅读(234)  评论(0编辑  收藏  举报