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$N5-=R$G!"(B
$B!!!!!!!!!!!!!!!!!'(B
xntpd_enable="NO" # Run ntpd Network Time Protocol (or NO).
xntpd_program="ntpd" # path to ntpd, if you want a different one.
xntpd_flags="-p /var/run/ntpd.pid"
$B!!!!!!!!!!!!!!!!!'(B
$B$H$$$&5-=R$,$"$kH&$J$N$G!"!I(Bxntpd_enable$B!I$r!V(BYES$B!W$H$7$F:F5/F0$9$k$3$H$G(Bntp$B%5!<%P$,

Linux$B$N>l9g(B

$BMxMQ$9$k%G%#%9%H%j%S%e!<%7%g%s$K$h$C$F0c$$$^$9$,Nc$($P(BTurboLinux6.0$B%o!<%/%9%F!<%7%g%s$G$O(BCD-ROM$B$NCf$K(Bxntpd$B$N%Q%C%1!<%8$,8+Ev$?$j$^$;$s!#$7$+$7!"(BTurboLinux6.1 Server$B$N%Q%C%1!<%8$NCf$K$"$k(Bntp server$B$N%Q%C%1!<%8$,$=$N$^$^MxMQ$G$-$k$h$&$G$9!#(B
$B$I$&$7$F$b%Q%C%1!<%8$,8+Ev$?$i$J$$>l9g$K$O%=!<%9%U%!%$%k$r(B http://www.eecis.udel.edu/~ntp/ $B$+$iF~ $B!!(B# tar zxvf xntp3-5.93.tar.gz
$B!!(B# cd xntp3-5.93
$B!!(B# ./configure
$B!!(B# make
$B!!(B# make install
$B$G!"(B/usr/local/bin$B$^$?$O(B/usr/local/sbin$B$K3F
$B5/F0;~$K<+F0E*$K
#!/bin/sh
echo -n "xntpd start."
/usr/local/bin/xntpd -l /var/log/xntpd
$B:[email protected]!"0J2<$N%3%^%s%I$r $B!!(B# chmod 0755 /etc/rc.d/init.d/xntpd
$B!!(B# ln -s /etc/rc.d/init.d/xntpd /etc/rc.d/rc3.d/S81xntpd
$B!!(B# ln -s /etc/rc.d/init.d/xntpd /etc/rc.d/rc5.d/S81xntpd
$B$3$l$G!"e$,$k$O$:$G$9!#(B

$B#4!%(Bntp$B%5!<%P2TF0$N3NG'(B

ntp$B%5!<%P$,5/F0$7$?$J$i!"(B
$B!!(B# ps ax | grep xntpd
$B$r $B!!(B# ntpq
$B!!(B> peer
$B!!(B remote $B!!!!(Brefid $B!!!!(Bst $B!!!!(Bt $B!!!!(Bwhen $B!!!!(Bpoll $B!!!!(Breach $B!!!!(Bdelay $B!!!!(Boffset $B!!(Bdisp
$B!!(B===================================================================
$B!!(Bhost$B!!!!!!!!(Bhost$B!!!!!!(B 3 $B!!!!(Bl $B!!!!(B19 $B!!!!!!!!(B64 $B!!!!!!(B377$B!!!!!!(B 0.00$B!!!!(B 0.019 $B!!!!(B10.01
$B!!(B>quit
$B$N$h$&$K:G4s$N%5!<%P$+$i$N(Boffset$B$,JV$C$F$/$l$PBg>fIW$G$9!#(B