您好,登錄后才能下訂單哦!
在CentOS中配置NTP時(shí)間同步服務(wù)的步驟如下:
sudo yum install ntp
sudo systemctl start ntpd
sudo systemctl enable ntpd
/etc/ntp.conf
,將下面的NTP服務(wù)器地址添加到文件中:server 0.centos.pool.ntp.org
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org
server 3.centos.pool.ntp.org
sudo systemctl restart ntpd
sudo firewall-cmd --add-service=ntp --permanent
sudo firewall-cmd --reload
ntpq -p
以上步驟完成后,CentOS系統(tǒng)的時(shí)間同步服務(wù)就配置完成了,系統(tǒng)會自動與NTP服務(wù)器同步時(shí)間。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。