温馨提示×

ubuntu如何同步时间

小新
906
2021-03-02 16:57:28
栏目: 智能运维

ubuntu如何同步时间

ubuntu同步时间的方法:

1.打开终端输入以下命令安装ntpdate工具。

sudo apt-get install ntpdate

2.再输入命令设置系统时间与网络时间同步。

sudo ntpdate cn.pool.ntp.org

3.最后输入命令将时间更新到硬件上即可。

sudo hwclock --systohc

0