1.安装ntpdate
2.设置当前年月 如:sudo date -s 2017-05-18
3.同步:sudo ntpdate /usr/sbin/ntpdate time.nist.gov
1.安装ntpdate
2.设置当前年月 如:sudo date -s 2017-05-18
3.同步:sudo ntpdate /usr/sbin/ntpdate time.nist.gov
转载于:https://www.cnblogs.com/yanglai/p/6873914.html