ubuntu时间网络同步

在shell中输入命令:

1.下载ntpdate

1 sudo apt-get install ntpdate

2.同步时间

1 ntpdate cn.pool.ntp.org
1 hwclock --systohc

3.重启

1 shutdown -r now
原文地址:https://www.cnblogs.com/Uriel-w/p/12292829.html