yum install ntp -y
# Hosts on local network are less restricted. restrict 172.16.1.0/24 mask 255.255.255.0 nomodify notrap restrict 0.0.0.0 mask 0.0.0.0 nomodify notrap restrict default #default指所有的IP restrict 192.168.5.0 mask 255.255.255.0 nomodify notrap #允许该网段内的主机可以进行校时
systemctl enable ntpd
systemctl start ntpd
ntpdate 172.16.1.88 #同步时间的服务器、平零-; 排查y8974qr31qa`125][-puj3e568很土