1)構成サーバ 192.168.0.1のルートユーザで操作 YUMインストール-y NTPにntpdate など/のntp.conf修正 注釈サーバとすべての制限 追加: サーバ0.cn.pool.ntp.orgの サーバ0.asia.poolを。 ntp.org 3.asia.pool.ntp.orgサーバー NOQUERY notrap制限0.cn.pool.ntp.org NOMODIFYは NOQUERY notrap 0.asia.pool.ntp.org NOMODIFYを制限 インクルードが3.asia.pool.ntp.org NOMODIFY制限しますNOQUERY notrap サーバ127.127.1.0の#ローカルクロック ファッジ127.127.1.0のStratum 10 システムのntpdを有効 systemctl無効chronyd systemctlはntpdの再起動 #は、NTPサーバのネットワーク見る ntpqの-p 2)クライアントが配置された 192.168.0.2の192.168.0.3 rootユーザーの操作には yumをインストール-y NTPにntpdate /etc/ntp.confファイルに追加 192.168.0.1好むサーバ・ システムは、ntpdのを有効 systemctl無効chronyd systemctl ntpdの再起動 #同期は ntpdateを-u 192.168.0.1 行わhwclockのの--systohc、システム時刻は、ハードウェアのBIOSに同期
K8S -ntpd記録時間同期設定(V)
おすすめ
転載: www.cnblogs.com/xinfang520/p/11608973.html
ランキング