「 LINUX篇 」 八月 30, 2021
CentOS 时间同步服务器的搭建
文章字数 971 阅读约需 1 mins.
安装
yum install ntp
修改配置文件 /etc/ntp.conf
将配置文件里的
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
全部注释掉, 换成本地时间服务器
server 127.127.1.0 iburst
测试
systemctl enable...
查看全文