ntpdate ntp.ubuntu.com
离线
systemd不是有这个功能的?
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
timedatectl set-ntp true
离线
systemctl enable --now systemd-timesyncd.service
离线
systemctl enable --now systemd-timesyncd.service
嗯,但其实也可以用其他的替代品吧。原来systemd没有这个组件的时候大家也用 某个ntp客户端的
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线
我就一直用 ntpd。
离线