¶2023-08-22
¶1. Ubuntu
sudo apt-get update
sudo apt-get install ntp
- sudo nano /etc/ntp.conf
server time.stdtime.gov.tw iburst
sudo service ntp restart
- check with
ntpq -p
ntpq -p: This command displays a list of the NTP peers (servers) your system is currently synchronizing with, along with various status information. Here's an example output:
remote refid st t when poll reach delay offset jitter
==============================================================================
+ntp.example.com 123.45.67.89 2 u 34 64 77 0.562 -0.123 0.050
*ntp2.example.com 123.45.67.90 2 u 21 64 77 0.732 0.068 0.032
-ntp3.example.com 123.45.67.91 2 u 18 64 77 0.901 -0.054 0.025
¶2. Arch
sudo pacman -S ntp
sudo nano /etc/ntp.conf
as
server time.stdtime.gov.tw iburst
sudo systemctl start ntpd
sudo systemctl enable ntpd
- check with
ntpq -p
¶3. Taiwan NTP
server 0.tw.pool.ntp.org
server 1.tw.pool.ntp.org
server 2.tw.pool.ntp.org
server 3.tw.pool.ntp.org
time.stdtime.gov.tw
tock.stdtime.gov.tw
watch.stdtime.gov.tw
clock.stdtime.gov.tw
tick.stdtime.gov.tw