玄箱/ntp

出典: Fukudat

  • インストール
 apt-get install ntp ntp-simple ntpdate
  • /etc/ntp.conf を編集
 driftfile /var/lib/ntp/ntp.drift
 statsdir /var/log/ntpstats/
 
 statistics loopstats peerstats clockstats
 filegen loopstats file loopstats type day enable
 filegen peerstats file peerstats type day enable
 
 restrict 210.173.160.27
 server 210.173.160.27 minpoll 4 maxpoll 12
 restrict 210.173.160.57
 server 210.173.160.57 minpoll 4 maxpoll 12
 restrict 210.173.160.87
 server 210.173.160.87 minpoll 4 maxpoll 12