匿名

差分

AstLinux CF-i586-2

1,972 バイト除去, 2009年1月30日 (金) 23:24
設定変更
==NTPサーバー機能設定==
AstLinuxはNTPサーバーの機能を持っています。<BR>
===設定変更===
NTPサーバーの設定はrc.confの中に記述されています。<BR>
/etc/ntp.confを直接変更しても、再起動の時に中身が消えてしまいます。
vi /stat/rc.conf   ←標準でインストールした場合
vi /mnt/kd/rc.conf  ←/mnt/kd/以下にファイルを置いた場合
下記のように設定を変更します。(us.pool.ntp.orgを無効化)
##Master NTP server. This is the NTP server that AstLinux will sync against
##upon bootup. It is also the server that the running ntpd process will use
##to maintain that time sync.
NTPSERV="us.pool.ntp.org"     ←外国サーバーなのでコメント行にします。
#NTPSERV="europe.pool.ntp.org"
#NTPSERV="north-america.pool.ntp.org"
#NTPSERV="south-america.pool.ntp.org"
#NTPSERV="asia.pool.ntp.org"
#NTPSERV="oceania.pool.ntp.org"
#NTPSERV="africa.pool.ntp.org"
##If you would like to specify several servers to be used at the same time,
##you can specify them in NTPSERVS seperated by spaces.
#NTPSERVS="ntp1.cs.wisc.edu us.pool.ntp.org"
 
NTPサーバーのIPアドレスを追加します。<BR>
[http://jjy.nict.go.jp/ntp/ NICT]が提供しているNTPサーバーのIPを入力します。<BR>
設定を変更したら、Astlinuxを再起動します。
##Master NTP server. This is the NTP server that AstLinux will sync against
##upon bootup. It is also the server that the running ntpd process will use
##to maintain that time sync.
#NTPSERV="us.pool.ntp.org"
#NTPSERV="europe.pool.ntp.org"
#NTPSERV="north-america.pool.ntp.org"
#NTPSERV="south-america.pool.ntp.org"
#NTPSERV="asia.pool.ntp.org"
#NTPSERV="oceania.pool.ntp.org"
#NTPSERV="africa.pool.ntp.org"
##If you would like to specify several servers to be used at the same time,
##you can specify them in NTPSERVS seperated by spaces.
#NTPSERVS="ntp1.cs.wisc.edu us.pool.ntp.org"
NTPSERVS="133.243.238.243 133.243.238.244" ←ここの行を追加
===動作確認===