服务器时间从不更新夏令时。我该如何更新? [关闭]

问题描述 投票:-1回答:1

所以几周前时钟向前移动时,我的redhat linux服务器上的服务器时间从未改变。如果我运行日期,我会得到:

Tue Apr 14 16:07:18 UTC 2020

当英国的时间是17:07时。

我该如何更新?

linux date time redhat rhel
1个回答
1
投票

尝试通过运行更新tzdata:

yum update tzdata

如果您使用的是RHEL 7,则使用timedatectl进行其他检查:

timedatectl | grep DST
© www.soinside.com 2019 - 2024. All rights reserved.