#author("2020-03-20T18:09:38+09:00","default:egashira","egashira")
[[CentOS7]]

*NTPサーバー(chrony)のインストール [#d79721e4]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# yum -y install chrony &color(lime){← chronyインストール};|

**NTPサーバー設定 [#qfee73f7]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# vi /etc/chrony.conf &color(lime){← ntp設定ファイル編集};|
|# Use public servers from the pool.ntp.org project.&br;
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
↓ 時刻同期先NTPサーバーを変更
# 日本標準時を提供しているNTPサーバー(stratum 1)
server ntp.nict.jp iburst
# 上記サーバーと直接同期しているNTPサーバー(stratum 2)
server ntp.jst.mfeed.ad.jp iburst


# Allow NTP client access from local network.
#allow 192.168.0.0/16
allow 192.168.1.0/24 ← 内部(例:192.168.1.0/24)からの時刻同期を許可


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS