yum -y install ntp ntpdate rm -rf /etc/localtime ln -s /usr/share/zoneinfo/Asia/Chongqing /etc/localtime ntpdate -u pool.ntp.org
一台服务器单纯通过ntpdate time.windows.com 同步时间,始终不能更新到最新时间,有一种情况就是系统时区问题。如上修改时区,重新同步即可。
本文由 Mr Gu 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Aug 26, 2016 at 09:24 pm