<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/ntp_api_bz/</link>
<title><![CDATA[稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[其他Unix技术]]></category>
<pubDate>Thu, 16 Jul 2009 14:54:05 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/</guid> 
<description>
<![CDATA[ 
	　　[文章作者：张宴 本文版本：v1.0 最后修改：2009.07.16 转载请注明原文链接：<a href="http://blog.zyan.cc/ntp_api_bz/" target="_blank">http://blog.zyan.cc/ntp_api_bz/</a>]<br/><br/> 　　NTP（Network Time Protocol）是由美国德拉瓦大学的David L. Mills教授于1985年提出，除了可以估算封包在网络上的往返延迟外，还可独立地估算计算机时钟偏差，从而实现在网络上的高精准度计算机校时，它是设计用来在Internet上使不同的机器能维持相同时间的一种通讯协定。时间服务器（time server）是利用NTP的一种服务器，通过它可以使网络中的机器维持时间同步。在大多数的地方，NTP可以提供1-50ms的可信赖性的同步时间源和网络工作路径。<br/><br/>　　网络时间协议（NTP）的详细说明在RFC-1305[Mills 1992]中。RFC-1305对 NTP协议自动机在事件、状态、转变功能和行为方面给出了明确的说明。它以合适的算法以增强时钟的准确性，并且减轻多个由于同步源而产生的差错，实现了准确性低于毫秒的时间服务，以满足目前因特网中路径量测的需要。<br/><br/>　　<span style="color: #FF0000;">ntp.api.bz</span> 是一组NTP服务器集群，目前有6台服务器，位于上海电信。这项服务是 api.bz 继 <a href="http://sms.api.bz" target="_blank">http://sms.api.bz</a> 移动飞信免费短信发送接口之后的第二项免费 API 服务。<br/><br/>　　<strong>客户端设置：</strong><br/><br/>　　1、Linux服务器可通过 ntpdate 命令与时间服务器同步（如果没有安装ntp软件，CentOS可以通过“yum install ntp”命令安装）：<br/><br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">/usr/sbin/ntpdate ntp.api.bz</div><br/><br/>　　如果想定时执行ntpdate进行时间同步，可以通过crontab来进行：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">crontab -e</div><br/>　　输入以下内容，每小时的第19分钟做一次时间同步：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">19 * * * * /usr/sbin/ntpdate ntp.api.bz</div><br/><br/><br/>　　2、Windows服务器或个人电脑请用鼠标双击屏幕右下角的时间，按照下图设置：<br/><br/>　　<a href="http://zyan.cc/attachment.php?fid=25" target="_blank"><img src="http://zyan.cc/attachment.php?fid=25" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>　　点击“立即更新”就可以马上更新时间，响应速度与成功率要比原有的 time.windows.com 高得多。<br/>Tags - <a href="http://zyan.cc/tags/ntp/" rel="tag">ntp</a> , <a href="http://zyan.cc/tags/ntpd/" rel="tag">ntpd</a> , <a href="http://zyan.cc/tags/ntpdate/" rel="tag">ntpdate</a> , <a href="http://zyan.cc/tags/%25E6%2597%25B6%25E9%2597%25B4%25E5%2590%258C%25E6%25AD%25A5/" rel="tag">时间同步</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3696</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>atppp &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 16 Jul 2009 18:01:16 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3696</guid> 
<description>
<![CDATA[ 
	为啥不配 ntpd 要用 cronjob...
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3697</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>gohsy &lt;me@gohsy.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 16 Jul 2009 18:14:06 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3697</guid> 
<description>
<![CDATA[ 
	你那么多服务器资源，那你可不可以免费赠送些？
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3698</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>mcsrainbow &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 00:48:32 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3698</guid> 
<description>
<![CDATA[ 
	感谢
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3700</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>xi2008wang &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 01:14:38 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3700</guid> 
<description>
<![CDATA[ 
	现在都用ntpd作客户端了
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3701</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>彬 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 01:37:23 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3701</guid> 
<description>
<![CDATA[ 
	哈哈~果然这个更新比较快~
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3702</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>Sunny &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 01:51:51 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3702</guid> 
<description>
<![CDATA[ 
	windowns下跟新比较快....<br/>TKS~~~
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3703</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>123 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 01:54:39 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3703</guid> 
<description>
<![CDATA[ 
	转载了 ~
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3705</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>123 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 09:10:17 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3705</guid> 
<description>
<![CDATA[ 
	你小子什么都搞啊，能不能搞点有技术含量的啊。
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3706</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>CrazyLemon &lt;165482921@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 12:51:27 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3706</guid> 
<description>
<![CDATA[ 
	是比较快，但好像有防攻击的机制，第二次点就没反应了
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3708</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>Showfom &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 17 Jul 2009 20:28:59 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3708</guid> 
<description>
<![CDATA[ 
	OK 已经更新 谢谢鸟
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3709</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>cch &lt;onlyt3h@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 18 Jul 2009 02:06:22 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3709</guid> 
<description>
<![CDATA[ 
	恩之前一直用的是210.72.145.44和CERNET NTP服务。试了一下这个 速度很不错 。<br/>多谢<br/><br/><br/>ps：要是有类似的公网WSUS服务就好了&nbsp;&nbsp;哈哈
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3712</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>熊眼看世界 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 18 Jul 2009 09:18:57 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3712</guid> 
<description>
<![CDATA[ 
	这个技术含量实在低了一些.在网上一搜一大把的.
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3713</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>w &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 18 Jul 2009 19:52:32 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3713</guid> 
<description>
<![CDATA[ 
	国内的东西大多都不是很可靠，最好别用这个，说不定一年半年关了难得去调整服务器
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3722</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>北极 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Tue, 21 Jul 2009 09:32:46 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3722</guid> 
<description>
<![CDATA[ 
	博主，真是个牛人，佩服！！<br/>有机会做个朋友，QQ：154394441
]]>
</description>
</item><item>
<link>http://zyan.cc/ntp_api_bz/#blogcomment3731</link>
<title><![CDATA[[评论] 稳定的NTP时间同步服务器集群：ntp.api.bz[原创]]]></title> 
<author>努力进取 &lt;school@oieonline.cn&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 23 Jul 2009 01:12:27 +0000</pubDate> 
<guid>http://zyan.cc/ntp_api_bz/#blogcomment3731</guid> 
<description>
<![CDATA[ 
	我也更新了。
]]>
</description>
</item>
</channel>
</rss>