![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NTP
huayang183
不积跬步无以至千里
不积小流无以成江海
展开
-
Linux下NTP时间同步客户端配置
[Linux版本: Red Hat Enterprise Linux Server release 6.4]1.安装ntpyum -y install ntp2.修改 ntp.confvim ntp.conf#注释掉下面三行server 0.rhel.pool.ntp.orgserver 1.rhel.pool.ntp.orgserver 2.rhel.pool...原创 2020-04-30 15:41:19 · 3669 阅读 · 0 评论 -
Linux下安装ntp时间同步服务器
1、 安装ntpyum -y install ntp2、 修改ntp.conf的配置1)vim /etc/ntp.conf① 配置方法一:只允许100.100.100.0网段的客户机进行时间同步#在restrict default kod nomodify notrap nopeer noquery(表示默认拒绝所有IP的时间同步)之后增加一行:restrict 1...原创 2020-04-30 15:34:19 · 463 阅读 · 0 评论 -
Windows下安装NTP时间同步服务器
【实验系统版本为WIndows Server 2008 R2 Enterprise】1.修改NTP服务相关注册表#打开“运行”#打开注册表(regedit)#注册表定位到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\TimeProviders\NtpServer#修改Enabled的值...原创 2020-04-30 14:26:04 · 1863 阅读 · 2 评论