1. NTPが稼働しているGentoo基幹サーバ・ガイドライン
NTPはすべてのGentoo基幹サーバにて設定、実行が要求されるサービスです。 下記にNTPのサンプル設定を示します。
コード表示 1.1: /etc/ntp.conf |
logfile /var/log/ntpd.log driftfile /var/state/ntp.drift # 同期するサーバ名 server ntp.ctr.columbia.edu server ntp0.cornell.edu server sundial.columbia.edu server timex.cs.columbia.edu |
コード表示 1.2: /etc/conf.d/ntp-client |
NTPCLIENT_CMD="ntpdate" NTPCLIENT_OPTS="-b time.orst.edu" |
時刻同期を行うときにntpdがシステムログのみを使用するように、ntpdとntp-clientの両方をrc-updateを使ってdefaultのランレベルに加えてください。