1、安装ntp yum -y install ntp ntpdate 2、与一个已知的时间服务器同步 # time.nist.gov 是一个时间服务器 ntpdate 0.asia.pool.ntp.org