[root@Lin-moniter ~]# yum -y install ntp

[root@Lin-moniter ~]# vi /etc/ntp.conf
# 添加网络范围你允许接收请求
restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
# 改变服务器同步
#server 0.rhel.pool.ntp.org
#server 1.rhel.pool.ntp.org
#server 2.rhel.pool.ntp.org
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
[root@Lin-moniter ~]# /etc/rc.d/init.d/ntpd start 
Starting ntpd:[ OK ]
[root@Lin-moniter ~]# chkconfig ntpd on 
[root@Lin-moniter ~]# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp1.jst.mfeed. 210.173.160.56   2 u    8   64    1   24.214  1449.94   0.000
 ntp2.jst.mfeed. 210.173.160.56   2 u    7   64    1   31.454  1445.03   0.000
 ntp3.jst.mfeed. 210.173.160.86   2 u    6   64    1   26.589  1448.61   0.000
客户端上同步 /usr/sbin/ntpdate 10.10.15.229
遇到的错误:
[root@Lin-moniter ~]# ntpq -p
Name or service not known
解:
[root@Lin-moniter ~]# cat /etc/hosts //将主机名写入hosts文件
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1              localhost.localdomain localhost
127.0.0.1               Lin-moniter localhost localhost.localdomain
::1             localhost6.localdomain6 localhost6
10.10.15.212 mfsmaster