yum install ntpd chkconfig查看服务状态 或者service ntpd status查看状态 service ntpd start开启服务 或者chkconfig ntpd on开启服务 此时时间已经同步