CentOS部署時間服務器

1.安裝chrony
yum install -y chrony
2.編輯配置文件
vim /etc/chrony.conf


server time1.aliyun.com iburst
server time2.aliyun.com iburst
server time3.aliyun.com iburst
server time4.aliyun.com iburst
allow 10.0.0.0/24

3.啓動服務
systemctl start chronyd
systemctl enable chronyd
4.查看系統時區
CentOS部署時間服務器
5.修改系統時區
timedatectl set-timezone Asia/Shanghai
6.驗證
CentOS部署時間服務器







發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章