时钟同步NTP

 

sudo systemctl stop ntpd.service
sudo ntpdate pool.ntp.org
sudo systemctl start ntpd.service
ntpstat


systemctl stop ntpd.service && ntpdate pool.ntp.org && systemctl start ntpd.service

 

同步阿里时钟:

systemctl stop ntpd.service && ntpdate ntp1.aliyun.com && systemctl start ntpd.service

posted @ 2021-08-07 23:09  技术研究与问题解决  阅读(38)  评论(0编辑  收藏  举报