[root@5201351 ~]# yum install ntp -y
#server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org iburst //其中iburst :当一个运程NTP服务器不可用时,向它发送一系列的并发包进行检测。 server 192.168.0.2 server 192.168.0.1 prefer logfile /var/log/ntpd.log //添加上日志信息,这个是不是必须的选项
restrict 192.168.0.3 //在默认的restrict 127.0.0.1后面加上这一条即可 restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap //也可以按此格式进行添加
restrict default kod nomodify notrap nopeer noquery //拒绝 IPv4 的用户,其中默认的没有kod restrict -6 default kod nomodify notrap nopeer noquery //拒绝 IPv6 的用户 restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap //放行指定的段
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有