centos时间同步 采用NTP服务通过获取网络时间使集群内不同主机的时间保持一致。这里选取阿里云的时间服务器aliyun.com。 1.安装NTP服务 yum install ntp #2.手动同步时间 ntpdate -u ntp1.aliyun.com 3.查看时间 date