linux 使用systemd-timesyncd进行ntp校时
1、修改配置文件/etc/systemd/timesyncd.conf:NTP=ntp服务器地址
2、重新加载配置:sudo systemctl daemon-reload
3、重启systemd-timesyncd:sudo systemctl restart systemd-timesyncd
4、设置systemd-timesyncd开机自启:sudo systemctl enable systemd-timesyncd

浙公网安备 33010602011771号