ユーザ用ツール

サイト用ツール


os:centos:chrony

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
os:centos:chrony [2020/01/06 15:04]
hayashi
os:centos:chrony [2023/12/13 18:48] (現在)
hayashi
行 20: 行 20:
   $ sudo hwclock --hctosys   $ sudo hwclock --hctosys
  
 +===== 設定ファイル =====
 +
 +<file config /etc/chrony.conf>
 +server 0.jp.pool.ntp.org iburst
 +server 1.jp.pool.ntp.org iburst
 +server 2.jp.pool.ntp.org iburst
 +server 3.jp.pool.ntp.org iburst
 +
 +# 時刻同期サーバーが2個以上の場合、時刻同期を行う
 +minsources 2
 +
 +# アクセスを許可するNTPクライアントのIPアドレス or サブネットを指定
 +# 複数指定する場合は複数行に分ける
 +allow 192.168.1.0/24
 +allow 10.0.0.2
 +
 +# NTPサーバとして使用しない場合は以下のように指定する
 +port 0
 +</file>
os/centos/chrony.txt · 最終更新: 2023/12/13 18:48 by hayashi