小编mez*_*ezi的帖子

Linux 服务器上的夏令时选项

我的 CentOS 服务器没有更新显示正确的时间。我已经设定

$ ln -sf /usr/share/zoneinfo/Europe/London  /etc/localtime
Run Code Online (Sandbox Code Playgroud)

我仍然在格林威治标准时间。

我确实在 中看到了以下条目/etc/sysconfig/clock

$cat /etc/sysconfig/clock
ZONE="Europe/London"
UTC=true
ARC=false
Run Code Online (Sandbox Code Playgroud)

仍然没有显示正确的时间。

NTP 正在此服务器上运行:

$ ntpq -p
remote           refid      st t when poll reach   delay   offset  jitter
+         IP Address      3 u   42 1024  377    0.476   63.077   0.001
*         IP Address      3 u   53 1024  377    1.183   30.425   0.001
Run Code Online (Sandbox Code Playgroud)

ntp 服务器的时间正确。这些是 Windows 域控制器。

我已经从这里查看了答案https://serverfault.com/questions/267629/configure-centos-with-ntp但这对这种情况没有帮助。

有任何想法吗?

ntp timezone

4
推荐指数
1
解决办法
3万
查看次数

标签 统计

ntp ×1

timezone ×1