在 Ubuntu 新增對時主機
把原本的設定檔改名字
cd /etc/chrony/sources.d
sudo mv ubuntu-ntp-pools.sources ubuntu-ntp-pools.sources.BAK
新增一個 .sources 檔,內容如下:
server time.stdtime.gov.tw iburst
server tick.stdtime.gov.tw iburst
server tock.stdtime.gov.tw iburst
server watch.stdtime.gov.tw iburst
server clock.stdtime.gov.tw iburst
重新啟動服務
sudo systemctl restart chrony








