Debian 系统时间配置(NTP)

本文介绍了如何在Debian系统中配置NTP和RTC同步,包括更新源、安装ntpdate、解决时区问题以及进行NTP和RTC时间同步。详细步骤包括使用dpkg-reconfigure tzdata命令修改时区,以及通过复制时区文件或创建链接文件来调整系统时区设置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

系统时间NTP和RTC同步,Debian的时区配置

系统及架构:
Linux Matrix_061001 5.10.42-yocto-standard #1 Thu Jun 3 07:00:52 UTC 2021 armv7l armv7l armv7l GNU/Linux

参考文章:
https://www.cnblogs.com/aaronLinux/p/7732542.html
https://blog.youkuaiyun.com/weixin_41528941/article/details/103504178

A. 更新源,并安装ntpdate

[root@Matrix_061001 ~]apt-get update
[root@Matrix_061001 ~]
[root@Matrix_061001 ~]apt-get install ntpdate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  ntpdate
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 52.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://www.artila.com/download/sama5
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值