server:
1. yum -y remove ntpdate && yum install ntp -y
2. vim /etc/ntp.conf
3. systemctl restart ntpd
4. ntpstat && ntpq -pn
client 操作
ntpdate 192.168.100.208
2022-04-21 00:31:31
server:
1. yum -y remove ntpdate && yum install ntp -y
2. vim /etc/ntp.conf
3. systemctl restart ntpd
4. ntpstat && ntpq -pn
client 操作
ntpdate 192.168.100.208