![Fedora 26 的 UTC 偏移+3 小時](https://rvso.com/image/1558042/Fedora%2026%20%E7%9A%84%20UTC%20%E5%81%8F%E7%A7%BB%2B3%20%E5%B0%8F%E6%99%82.png)
我從同一來源安裝了兩台計算機,但其中一台出現了對我來說很奇怪的時間問題。
sudo timedatectl
[sudo] password for mmucha:
Local time: Mon 2018-04-09 13:58:51 CEST
Universal time: Mon 2018-04-09 11:58:51 UTC
RTC time: Mon 2018-04-09 11:58:51
Time zone: Europe/Prague (CEST, +0200)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
時區正確,並且正確應用到 UTC,但 UTC 錯誤了三個小時。奇怪的是,沒有安裝NTP同步。所以我安裝了 NTP 並運行它,將其啟動為systemctl start ntpd
.我也做了「啟用」。但是,啟動後:
sudo systemctl status ntpd
● ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
Active: inactive (dead)
也許這是一個問題?不管怎樣,再次手動啟動後,我得到了一個正在運行的服務並且:
[mmucha@embNotebook ~]$ sudo timedatectl
Local time: Mon 2018-04-09 14:04:47 CEST
Universal time: Mon 2018-04-09 12:04:47 UTC
RTC time: Mon 2018-04-09 12:04:46
Time zone: Europe/Prague (CEST, +0200)
Network time on: no
NTP synchronized: yes
RTC in local TZ: no
但無論我嘗試什麼,它都不會同步 UTC。
什麼是正確的方法,我做錯了什麼?