时间服务器安装实践

曾经两次安装 时间服务器:

第一次遇到的问题是:
1. NTP服务器启动之后需要等待几分钟才能使用,否则错误为:no server suitable for synchronization found

2. ntp.conf 需要配置,内容大致为:

——————————–ntp.conf——————————————

# NTP Network Time Protocol
# ATTENTION: *You have to restart the NTP service when you change this file to activate the changes*# Configuration File created by Windows Binary Distribution Installer Rev.: 1.23  mbg
# please check http://www.ntp.org for additional documentation and background information
# Use drift file
driftfile "C:\Program Files\NTP\etc\ntp.drift"

# your local system clock, could be used as a backup
# (this is only useful if you need to distribute time no matter how good or bad it is)
server 127.127.1.0    
# but it should operate at a high stratum level to let the clients know and force them to
# use any other timesource they may have.
#fudge 127.127.1.0 stratum 12

# End of generated ntp.conf — Please edit this to suite your needs

 

—————————————————————————————

注意:红字那行原本是注释掉的,需要打开,否则也是无法同步时间的,至于原因,需要读一下ntp协议了,我还没读呢

留下评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据