Centos7.4はNTP時刻同期サーバーを展開します

yum -y chronyをインストールする
vim /etc/chrony.conf
  • サーバーntp1.aliyun.com iburst
  • bindacqaddress 0.0.0.0
  • allow 0/0 //すべてのユーザーにタイムサーバーの使用を許可する
  • cmdallow 127.0.0.1 //制御命令
systemctl restart chronyd
netstat -antup | grep chronyd
chronyc sources -v // *の存在は、NTP時間を利用できることを示します
73件の元の記事を公開 賞賛4 20,000回以上の閲覧

おすすめ

転載: blog.csdn.net/qq_27592485/article/details/103840621
おすすめ