一、安装客户端(root权限运行)windows
apt-get install ntpdate服务器
二、修改配置文件:“/etc/default/ntpdate”,网络
NTPSERVERS="ntp.fudan.edu.cn"spa
------完成以上操做,便可在下次开机时,自动校时------get
若是不想等到下次开机,则直接用 root 用户,直接运行:ntpdate ntp.fudan.edu.cn 便可校时成功。it
------国内经常使用NTP服务器地址及IP------配置
210.72.145.44 中科院date
time.windows.com 微软权限
asia.pool.ntp.org 台湾im
time.nist.gov 美国
ntp.fudan.edu.cn 复旦
timekeeper.isi.edu
subitaneous.cpsc.ucalgary.ca
usno.pa-x.dec.com
time.twc.weather.com
swisstime.ethz.ch
ntp0.fau.de
ntp3.fau.de
time-a.nist.gov
time-b.nist.gov
time-nw.nist.gov
nist1-sj.glassey.com
ntp.sjtu.edu.cn 202.120.2.101 (上海交通大学网络中心NTP服务器地址)
s1a.time.edu.cn 北京邮电大学
s1b.time.edu.cn 清华大学
s1c.time.edu.cn 北京大学
s1d.time.edu.cn 东南大学
s1e.time.edu.cn 清华大学
s2a.time.edu.cn 清华大学
s2b.time.edu.cn 清华大学
s2c.time.edu.cn 北京邮电大学
s2d.time.edu.cn 西南地区网络中心
s2e.time.edu.cn 西北地区网络中心
s2f.time.edu.cn 东北地区网络中心
s2g.time.edu.cn 华东南地区网络中心
s2h.time.edu.cn 四川大学网络管理中心
s2j.time.edu.cn 大连理工大学网络中心
s2k.time.edu.cn CERNET桂林主节点
s2m.time.edu.cn 北京大学