root@ubunt-demo:~# ntpdate s1b.time.edu.cn
10 Feb 09:01:33 ntpdate[3884]: the NTP socket is in use, exiting
root@ubunt-demo:~# vim /etc/ntp.conf
root@ubunt-demo:~# /etc/init.d/ntp stop
Stopping ntp (via systemctl): ntp.service.
root@ubunt-demo:~# ntpdate s1b.time.edu.cn
10 Feb 09:03:08 ntpdate[4028]: no server suitable for synchronization found
#同步阿里云时间
ntpdate -u ntp1.aliyun.com
linux-ntpd
于 2022-02-10 17:31:21 首次发布