<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></title> 
<link>http://www.bizeway.net/index.php</link> 
<description><![CDATA[网务通 - 网务公司发展之路]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></copyright>
<item>
<link>http://www.bizeway.net/read.php?</link>
<title><![CDATA[跟着ArthurXF学FreeBSD18——设置时区同步国际时间]]></title> 
<author>ArthurXF &lt;arthurxf@gmail.com&gt;</author>
<category><![CDATA[FreeBSD]]></category>
<pubDate>Mon, 05 Feb 2007 04:45:04 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?</guid> 
<description>
<![CDATA[ 
	　　FreeBSD经常在安装的时候一不注意就设置了UTC，结果服务器上的时间和我们中国时区的时间总是差8小时，我们可以用下面的方法来更改时区。<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">#sysinstall<br/>选择 configure<br/>选择 Time Zone<br/>UTC = no <br/>选择 Asia <br/>选择 China<br/>选择 east China - Beijing,Guangdong,Shanghai etc.<br/>Does the abbreviation `CST' look reasonable? &nbsp;= OK<br/>然后退出sysinstall就可以了。<br/><br/>用date命令验证一下<br/>#date<br/>Mon Feb &nbsp;5 12:35:01 CST 2007<br/><br/>如果时间不对，就用下面的命令同步windows的时间服务器<br/>ntpdate time.windows.com<br/>这样时间就对了，如果你时钟经常会变慢，你可以在crontab设置定时执行同步时间命令。<br/><br/>如果要开机自动校准时间，只需在/etc/rc.conf中加入<br/>ntpdate_enable="YES"<br/>ntpdate_flags="-b time.windows.com" &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Flags to ntpdate (if enabled).<br/>ntpdate_hosts="time.windows.com"<br/></div></div><br/><br/>注:如果你执行同步命令的时候，碰到下面的错误，就是由IPFW造成的。<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">ntpdate time.windows.com<br/>14 Jan 02:35:19 ntpdate[91125]: sendto(207.46.232.182): Permission denied<br/>14 Jan 02:35:43 ntpdate[91125]: sendto(207.46.232.182): Permission denied<br/>14 Jan 02:36:04 ntpdate[91125]: sendto(207.46.232.182): Permission denied<br/>14 Jan 02:36:24 ntpdate[91125]: sendto(207.46.232.182): Permission denied<br/>14 Jan 02:36:25 ntpdate[91125]: no server suitable for synchronization found<br/>解决办法：<br/>执行下面的命令<br/>ipfw add 10007 allow udp from any to any 123 in keep-state<br/>再运行ntpdate time.windows.com就可以了。</div></div><br/><br/><br/>现在ArthurXF本人正在搞PHP等技术培训，如果想学习的人可以跟我联系。另外培训的招生简章在这个网址，想了解的可以去看看。加我QQ：29011218交流也可。<br/><a href="http://www.bizeway.net/read.php/285.htm" target="_blank">PHP培训招生简章</a><br/>Tags - <a href="tag.php?tag=freebsd" rel="tag">freebsd</a> , <a href="tag.php?tag=time" rel="tag">time</a> , <a href="tag.php?tag=zone" rel="tag">zone</a> , <a href="tag.php?tag=ntpdate" rel="tag">ntpdate</a>
]]>
</description>
</item><item>
<link>http://www.bizeway.net/read.php?&amp;guid=0#topreply</link>
<title><![CDATA[[评论] 跟着ArthurXF学FreeBSD18——设置时区同步国际时间]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?&amp;guid=0#topreply</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>