1、检查是否已安装ntp[root@localhost ~]# rpm -qa ntp2、安装ntp以及ntpdateyum -y install ntp ntpdate3、修改ntp配置文件vim /etc/ntp.conf#restrict 192.168.1.0 mask 255.255.255.0 nomodify notraprestrict 192.168.1.0/24 mask 25
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号