罪と罰++二律背反
NTPセットアップ
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
] [
リンク元
]
開始行:
[[PC関連]]
*NTP [#y44889fb]
# ntpで時間を合わせる
/usr/sbin/ntpdate -b ntp1.jst.mfeed.ad.jp
# システム時間とCMOS時間を合わせる
clock -w
*NTPサーバ [#wea122c3]
/etc/ntp.conf
# 同期するサーバ
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
# 内蔵クロック
server 127.127.1.0 # local clock
# 内蔵クロックの優先順位を下げる
fudge 127.127.1.0 stratum 10
# driftファイル
driftfile /var/ntp/drift
/etc/init.d/ntp start
パケットフィルタリングをntp(123)通すよう設定する
*確認 [#pb6c64c5]
ntpq -pn
remote refid st t when poll reach ...
========================================================...
+141.82.30.251 130.149.17.21 2 u 18 64 277 29...
*210.173.160.27 210.173.160.56 2 u 6 64 377 ...
+210.173.160.57 210.173.176.4 2 u 6 64 377 ...
+210.173.160.87 210.173.176.4 2 u 7 64 377 ...
127.127.1.0 LOCAL(0) 13 l 9 64 377 ...
-先頭の*が同期しているサーバ
*参照 [#t68b2de7]
-[[@IT:Windowsネットワーク時刻同期の基礎とノウハウ:http:/...
終了行:
[[PC関連]]
*NTP [#y44889fb]
# ntpで時間を合わせる
/usr/sbin/ntpdate -b ntp1.jst.mfeed.ad.jp
# システム時間とCMOS時間を合わせる
clock -w
*NTPサーバ [#wea122c3]
/etc/ntp.conf
# 同期するサーバ
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
# 内蔵クロック
server 127.127.1.0 # local clock
# 内蔵クロックの優先順位を下げる
fudge 127.127.1.0 stratum 10
# driftファイル
driftfile /var/ntp/drift
/etc/init.d/ntp start
パケットフィルタリングをntp(123)通すよう設定する
*確認 [#pb6c64c5]
ntpq -pn
remote refid st t when poll reach ...
========================================================...
+141.82.30.251 130.149.17.21 2 u 18 64 277 29...
*210.173.160.27 210.173.160.56 2 u 6 64 377 ...
+210.173.160.57 210.173.176.4 2 u 6 64 377 ...
+210.173.160.87 210.173.176.4 2 u 7 64 377 ...
127.127.1.0 LOCAL(0) 13 l 9 64 377 ...
-先頭の*が同期しているサーバ
*参照 [#t68b2de7]
-[[@IT:Windowsネットワーク時刻同期の基礎とノウハウ:http:/...
ページ名: