時間合わせで有名ものは
桜時計ですが、もちろん
UNIXの世界でもNTPは使えます。Vine Linuxにはxntpが入っているようです。
まずは、uid=0の状態で
とすると、大きくずれた時間があわされます。あとは/etc/ntp.conf を編集してntpd(或いはxntpd)を走らせます。
# 試行サービス
server 210.173.160.27 # ntp1.jst.mfeed.ad.jp
server 210.173.160.57 # ntp2.jst.mfeed.ad.jp
server 210.173.160.87 # ntp3.jst.mfeed.ad.jp
# ECCで使われているようだ。
server 130.69.251.23 # ntp.nc.u-tokyo.ac.jp
server 133.31.30.8 # sutns.sut.ac.jp
server 133.40.41.175 # gpsntp.miz.nao.ac.jp
# digすればわかるが、ここのを使う時はちょっと注意すべき点がある
# 以下は複数並べるべきだが、restrictが...
# server ntp.ring.gr.jp
restrict 210.173.160.27
restrict 210.173.160.57
restrict 210.173.160.87
restrict 130.69.251.23
restrict 133.31.30.8
restrict 133.40.41.175
#restrict ntp.ring.gr.jp
# NAT内のクライアント
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
restrict 127.0.0.1
fudge 127.127.1.0 stratum 5
server 127.127.1.0
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
福岡大学のNTPServerを使うのはもうやめましょう。 Trafficの増大がすごいそうです。最近は、ntp.ring.gr.jp でもサービスしているので、これを使うのもよいでしょう。 上の例では複数を示しましたが、実際は一つで十分のことが多いです。 また、クライアントそれぞれで上位のServerを指すようなことは止めましょう。
2. It's aimed low. In the original Java white paper, Gosling explicitly says
Java was designed not to be too difficult for programmers used to C. It was
designed to be another C++: C plus a few ideas taken from more advanced
languages. Like the creators of sitcoms or junk food or package tours, Java's
designers were consciously designing a product for people not as smart as
them. Historically, languages designed for other people to use have been bad:
Cobol, PL/I, Pascal, Ada, C++. The good languages have been those that were
designed for their own creators: C, Perl, Smalltalk, Lisp.
-- Paul Graham
-- Java's Cover ( http://www.paulgraham.com/javacover.html )
XSLT is the number one cause of programmers' suicides since Visual Basic 1.0.
-- Shlomi Fish
-- XSLT Facts by Shlomi Fish and Friends ( http://www.shlomifish.org/humour/bits/facts/XSLT/ )