時刻同期

https://sicklylife.hatenablog.com/entry/2016/02/03/201557

(16)
timedatectl status

vim /etc/systemd/timesyncd.conf

#NTP=

NTP=ntp.nict.jp

systemctl restart systemd-timesyncd
systemctl status systemd-timesyncd -l


(18)

timedatectl status

vim /etc/systemd/timesyncd.conf

#NTP=

NTP=ntp.nict.jp

systemctl restart systemd-timesyncd
systemctl status systemd-timesyncd -l

 

https://www.mk-mode.com/blog/2018/12/05/debian-9-systemd-timesyncd/#
(9)

timedatectl status

vim /etc/systemd/timesyncd.conf

#NTP=

NTP=ntp.nict.jp

systemctl restart systemd-timesyncd
systemctl status systemd-timesyncd -l

 

(7)
timedatectl status

vim /etc/chrony.conf

server ntp.nict.jp iburst

systemctl restart chronyd
systemctl status chronyd

chronyc sources

 

(2012R2)

https://mseeeen.msen.jp/set-ntp-server-with-command-in-windows-server/

Windows Time サービスのスタートアップの種類を [手動] から [自動 (遅延開始)] に変更

 

w32tm /query /peers /verbose
w32tm /query /status /verbose

w32tm /config /update /manualpeerlist:ntp.nict.jp /syncfromflags:manual

w32tm /resync