Centos 8 同步时间
Linux 2022/4/7 15:30:23 点击:不统计
原载于:文章来源:www.forasp.cn网站制作学习
同步时间
centos8:yum install chrony
编辑配置文件/etc/chrony.conf
修改
#pool 2.centos.pool.ntp.org iburst
pool ntpl.aliyun.com iburst
为客户端提供时间服务器,需要配置允许请求客户端的网段,或者地址,配置如下:
修改# Allow NTP client access from local network
allow 192.168.0.0./16
systemctl start chronyd#启动服务
systemctl enable chronyd#开机自启动
chronyc sources 查看时间同步源
<%77w%77%2Ef%6F%72p%73%70%2Ec%6E>
·上一篇:Anaconda 安装与使用 >> ·下一篇:ubuntu 由于没有公钥,无法验证下列签名 >>