仓酷云
标题:
给大家带来Centos 下NTP情况的创立
[打印本页]
作者:
简单生活
时间:
2015-1-14 20:12
标题:
给大家带来Centos 下NTP情况的创立
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们!
比来在搭建
Openstack
和
Ceph
的集群,因为集群中都存在多个节点,且节点间必要工夫的同步,以是必要利用
NTP
,又思索到有些时分收集情况是关闭的,以是必要本人搭建一个
NTP
的办事器
办事器
IP
脚色
申明
同步体例
192.168.100.203
NTPD
办事
1
、卖力与内部大众
NTPD
办事同步尺度工夫
2
、作为表里收集的
NTPD
办事
NTPD
办事光滑同步
192.168.40.***
表里
NTP
客户端
内网装备与
192.168.100.203
同步工夫
NTPD
办事光滑同步
NTP
工夫同步体例选择
NTP
同步体例在
linux
下一样平常两种:利用
ntpdate
下令间接同步和利用
NTPD
办事光滑同步。有甚么区分呢,复杂说下,以免工夫长了,观点又含混。
现有一台装备,体系工夫是
13:00,
实在确当前工夫
(
在空中,大概卫星上,这里假定是在筹办同步的下级方针
NTP
办事器
)
是
:12:30
。假如我们利用
ntpdate
同步(
ntpdate-u
方针
NTP
办事器
IP
),操纵体系的工夫当即更新为
12:30,
假设,我们的体系有一个准时使用,是在天天
12:40
运转,那末实践明天这个的义务已运转过了(以后工夫是
13:00
嘛),如今被
ntpdate
修正为
12:30
,那末意味作
10
分钟后,又会实行一次义务,这就糟了,这个义务只能实行一次的嘛!!我想你(实际上是我)已懂了
ntpdate
工夫同步的隐患,固然这个例子有些极度,但切实其实是有风险的,临盆情况我不盘算这么干,仍是稳妥点好。以是办理该成绩的举措就是工夫光滑变动,不会让一个工夫点在一天内履历两次,这就是
NTPD
办事体例光滑同步工夫,它每次同步工夫的偏移量不会太陡,是渐渐来的(问:怎样来,没有细究,只知道一次一点的同步,完整同步好必要较长工夫,以是一样平常开启
NTPD
办事同步前先用
ntpdate
先手动同步一次)。
装置设置
CentOS6.3
体系已自带了
NTPD
办事,一样平常默许是依照了的,假如没有装置,先反省下,然后设置好
yum
堆栈,
yum
体例装置下就
OK
,详细以下:
[plain]
viewplaincopyprint?
登录/注册后可看大图
CODE_ico.png
(1.18 KB, 下载次数: 6)
下载附件
保存到相册
给大家带来Centos 下NTP情况的创立
2015-1-14 20:12 上传
#rpm-qntp
假如没有装置,我们依照下
[plain]
viewplaincopyprint?
#yuminstallntp
按下面的装置体例在内网每台办事器上都装置好
NTP
软件包。
完成后,都必要设置
NTP
办事为自启动
[plain]
viewplaincopyprint?
#chkconfigntpdon
#chkconfig--listntpd
在设置前,先利用
ntpdate
手动同步下工夫,以免本机与内部工夫办事器工夫差异太年夜,让
ntpd
不克不及一般同步。
[plain]
viewplaincopyprint?
#ntpdate-u202.112.10.36
22Dec16:52:38ntpdate[6400]:adjusttimeserver202.112.10.36offset0.012135se
设置内网
NTP-Server(192.168.100.203)
上面次要是设置内网的
NPTD
办事器
(192.168.100.203),NTPD
办事设置中心就在
/etc/ntp.conf
文件,设置好了就
OK
。网上出格是老外的文章都很复杂,我受骗了,妈哟,基本情况纷歧样,我们得中国特征才行。先上设置文件再说,白色局部是我的修正,其他的是默许。
<divclass="dp-highlighterbg_plain"style="font-family:Consolas,CourierNew,Courier,mono,serif;width:936.53125px;overflow:hidden;padding-top:1px;opacity:0.6;color:rgb(0,0,0);line-height:26px;margin:18px0px!important;background:url(http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/images/black/plain.gif)100%0%no-repeatrgb(51,51,51);">
[plain]
viewplaincopyprint?
<olstart="1"style="padding-right:0px;padding-left:0px;border:none;position:relative;list-style-position:initial;list-style-image:initial;color:rgb(92,92,92);margin:0px0px1px45px!important;"><liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Formoreinformationaboutthisfile,seethemanpages
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#ntp.conf(5),ntp_acc(5),ntp_auth(5),ntp_clock(5),ntp_misc(5),ntp_mon(5).
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
driftfile/var/lib/ntp/drift
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Permittimesynchronizationwithourtimesource,butdonot
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#permitthesourcetoqueryormodifytheserviceonthissystem.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrictdefaultkodnomodifynotrapnopeernoquery
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict-6defaultkodnomodifynotrapnopeernoquery
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Permitallaccessovertheloopbackinte***ce.Thiscould
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#betightenedaswell,buttodosowouldeffectsomeof
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#theadministrativefunctions.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict127.0.0.1
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict-6::1
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Hostsonlocalnetworkarelessrestricted.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#同意内网其他呆板同步工夫
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict192.168.40.0mask255.255.255.0nomodifynotrap
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Usepublicserversfromthepool.ntp.orgproject.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Pleaseconsiderjoiningthepool(http://www.pool.ntp.org/join.html).
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#中国这边最活泼的工夫办事器:http://www.pool.ntp.org/zone/cn
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
server210.72.145.44perfer#中国国度受时中央
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
server202.112.10.36#1.cn.pool.ntp.org
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
server59.124.196.83#0.asia.pool.ntp.org
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#broadcast192.168.40.255autokey#broadcastserver
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#broadcastclient#broadcastclient
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#broadcast224.0.1.1autokey#multicastserver
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#multicastclient224.0.1.1#multicastclient
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#manycastserver239.255.254.254#manycastserver
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#manycastclient239.255.254.254autokey#manycastclient
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#allowupdatetimebytheupperserver
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#同意下层工夫办事器自动修正本机工夫
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict210.72.145.44nomodifynotrapnoquery
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict202.112.10.36nomodifynotrapnoquery
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
restrict59.124.196.83nomodifynotrapnoquery
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#UndisciplinedLocalClock.Thisisafakedriverintendedforbackup
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#andwhennooutsidesourceofsynchronizedtimeisavailable.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#内部工夫办事器不成用时,以当地工夫作为工夫办事
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
server127.127.1.0#localclock
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
fudge127.127.1.0stratum10
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Enablepublickeycryptography.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#crypto
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
includefile/etc/ntp/crypto/pw
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Keyfilecontainingthekeysandkeyidentifiersusedwhenoperating
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#withsymmetrickeycryptography.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
keys/etc/ntp/keys
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Specifythekeyidentifierswhicharetrusted.
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#trustedkey4842
<listyle="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
<liclass="alt"style="margin:0px!important;padding:0px3px0px10px!important;border-style:nonenonenonesolid;border-left-width:3px;border-left-color:rgb(153,153,153);list-style:decimal-leading-zerooutside;color:rgb(238,238,238);line-height:18px;">
#Specifythekeyidentifiertousewiththentpdcutility.
作者:
老尸
时间:
2015-1-14 23:52
标题:
给大家带来Centos 下NTP情况的创立
广告位,,坐下看看
作者:
金色的骷髅
时间:
2015-1-18 15:39
放手去搞。尽量不要提问,运用搜索找答案,或者看wiki,从原理上理解操作系统的本质,而不是满足于使用几个技巧。尽量看英文资料。
作者:
仓酷云
时间:
2015-1-27 11:06
对Linux命令熟悉后,你可以开始搭建一个小的Linux网络,这是最好的实践方法。Linux是网络的代名词,Linux网络服务功能非常强大,不论是邮件服务器、Web服务器、DNS服务器等都非常完善。
作者:
再见西城
时间:
2015-2-5 14:25
编程学习及开发,Linux是免费,开源的操作系统,并且可开发工具相当多,如果您支持自由软件,一定要同广大热爱自由软件人士一同为其不懈努力。
作者:
第二个灵魂
时间:
2015-2-12 08:48
直到学习Linux这门课以后,我才知道,原来我错了。?
作者:
蒙在股里
时间:
2015-3-3 03:16
如果你想深入学习Linux,看不懂因为文档实在是太难了。写的最好的、最全面的文档都是英语写的,最先发布的技术信息也都是用英语写的。
作者:
小女巫
时间:
2015-3-11 11:29
工具书对于学习者而言是相当重要的。一本错误观念的工具书却会让新手整个误入歧途。目前国内关于Linux的书籍有很多不过精品的不多。
作者:
老尸
时间:
2015-3-18 17:32
熟悉操作是日常学习Linux中的三大法宝。以下是作者学习Linux的一些个人经验,供参考:
作者:
莫相离
时间:
2015-3-26 14:25
其实当你安装了一个完整的Linux系统后其中已经包含了一个强大的帮助,只是可能你还没有发现和使用它们的技巧。
欢迎光临 仓酷云 (http://ckuyun.com/)
Powered by Discuz! X3.2