yum install ntp -y
vi /etc/ntp.connf修改如下
ntpdate -u cn.pool.ntp.org 同步时间
别的服务器 同步 ntpdate IP地址 例ntpdate 192.168.80.100