1.root 用户下安装 yum install ntp -y

报错如下:

29 Apr 00:25:04 ntpdate[8786]: the NTP socket is in use, exiting

执行:

/usr/sbin/ntpdate ntp3.aliyun.com

05-11 11:33