先在ubuntu下更新一下时间,确保时间无误:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
然后将时间更新到硬件上:
sudo hwclock --localtime --systohc
本文介绍如何在Ubuntu系统中使用ntpdate命令同步系统时间,并通过hwclock命令将系统时间写入硬件时钟,确保开机后的系统时间准确无误。
先在ubuntu下更新一下时间,确保时间无误:
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
然后将时间更新到硬件上:
sudo hwclock --localtime --systohc
2599

被折叠的 条评论
为什么被折叠?