第一方法: 簡單 高效 沒煩惱 一條命令解決單臺 server-time
#ntpdate -u ntp.api.bz

第二方法:時間站群伺服器:

1) #yum install ntp
2)# vi /etc/ntp.conf
註釋一行
restrict default ignore
加入一行
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap   #站群伺服器的地址
3). # vi /etc/ntp/step-tickers
加入一行(也可以在原有基礎上改寫)
pool.ntp.org 
這樣每次 ntpd 啟動時,會自動連線該國際標準時間站群伺服器;
4). # systemctl restart  ntpd 
5). # ss -an |grep 123
確保該埠以 udp 方式開放

6)# systemctl enable ntpdate.service (加入開機自啟動)
7)# date  (檢測時間是否靠譜)
2016 年 01 月 18 日 星期一 00:43:55 CST

這樣的話就可以解決多臺機器的時間同步問題了。