摘要:
背景局域网不能上外网情况下同步集群时间,搭建NTP服务器,并设置其他主机每小时同步时间(假设使用地址为192.168.3.21的主机作为NTP服务器)安装NTP$ sudo yum install ntp配置NTP$ sudo vi /etc/ntp.conf修改文件内容如下:driftfile /var/lib/ntp/driftrestrict default nomodify notrap noqueryrestrict 127.0.0.1restrict 0.0.0.0 mask 0.0.0.0 nomodify notrapserver 127.127.1.0fudge 127.12 阅读全文