问题分析:
linux系统和windows系统对时间的安排不同。这里涉及到了主板时间 还要对主板时间进行修改和更正。
1、首先使用 apt-get update 更新软件列表(针对Debian系列)
2、用 apt-get install ntpdate 安装时间控件
3、用 hwclock --show 命令查看电脑主板时间。
4、用 ntpdate time.windows.com 更新系统时间(这里并没有修改主板时间呢。
5、hwclock -w 命令,把当前系统时间写入主板。
6、hwclock --help 用来查看帮助。RTC代指主板。

posted on 2019-10-18 17:57  WhiteButterflies  阅读(73)  评论(0编辑  收藏  举报