1、ntpd软件安装(略过) 2、修改ntp.conf配置文件 vi /etc/ntp.conf 第一种配置:允许任何IP的客户机都可以进行时间同步 将“restrict default kod nomodify notrap nopeer noquery”这行修改成: restrict default nomodify 第二种配置:只允许192.168.18.***网段的客户机进行时间同步 在restrict defa...