1,安装ntpdate 服务器,一般系统自带,没有就yum -y install ntpdate
2,设置服务器时区-上海时间为例子
[root@localhost ~]# cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
3,向时间服务器请求数据同步
[root@localhost ~]# ntpdate us.poll.ntp.org
时间时间基本完成
4,自动同步 加入crontab 自动计划中
[root@localhost ~]# crontab -e 0-59/5 * * * * /usr/sbin/ntpdate us.pool.ntp.org #5 分钟请求一次

最后记得启动下计划任务:

[root@localhost ~]# chkconfig crond on
加入自启动