时间同步服务部署
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