ubuntu20.04 根据网上方案设置时间后,时间不正确
根据网上的方法调整 sudo cp /usr/share/zoneinfo/UTC /etc/localtime
然后再创建软链接 sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime ,
现在使用命令查看 timedatectl
输出如下
Local time: 日 2022-06-12 02:52:38 UTC
Universal time: 日 2022-06-12 02:52:38 UTC
RTC time: 日 2022-06-12 02:52:38
Time zone: Asia/Shanghai (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
比本地正确时间慢了八个小时,呜呜
求各位救救孩子,
根据网上的方法调整 sudo cp /usr/share/zoneinfo/UTC /etc/localtime
然后再创建软链接 sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime ,
现在使用命令查看 timedatectl
输出如下
Local time: 日 2022-06-12 02:52:38 UTC
Universal time: 日 2022-06-12 02:52:38 UTC
RTC time: 日 2022-06-12 02:52:38
Time zone: Asia/Shanghai (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
比本地正确时间慢了八个小时,呜呜
求各位救救孩子,
