1.安装ntp服务 yum -y install ntp 2 修改配置文件 修改 /etc/ntp.conf 前面4行注释,改成自己的时间同步服务器地址,如下图 3 启动ntp服务 service ntpd start service ntpd status service ntpd stop service ntpd restart 4、查看同步状态 ntpq -p 如下红框显示则为正常同步状态 5 验证时间 date