編碼的世界 / 優質文選 / 感情

centos8 設置時間同步


2022年8月01日
-   

在CentOS8.0中默認不再支持ntp軟件包,時間同步將由chrony來實現 vim /etc/chrony.conf
注釋掉 pool 2.centos.pool.ntp.org iburst 加入新的的時間服務器 server 210.72.145.44 iburst server ntp.aliyun.com iburst
重啟服務 systemctl restart chronyd.service 此時時間已經與網絡時間同步 設置開機自啟 systemctl enable chronyd.service

熱門文章