<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>baalchina</title>
	<atom:link href="http://www.baalchina.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.baalchina.net</link>
	<description>baalchina技术日志</description>
	<lastBuildDate>Wed, 03 Mar 2010 06:41:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows Server 2008 R2上安装WSUS 3.0 SP2</title>
		<link>http://www.baalchina.net/2010/03/install-wsus3-in-windows2008r2/</link>
		<comments>http://www.baalchina.net/2010/03/install-wsus3-in-windows2008r2/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 01:54:36 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[WSUS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/03/install-wsus3-in-windows2008r2/</guid>
		<description><![CDATA[安装基本和Windows 2003上一致，由于R2是64位，所以WSUS也要下载x64的。
是安装IIS时，需要分别安装“应用程序服务器”和“Web服务器(IIS)”。前者默认即可，后者需要添加“ASP.NET”、“Windows 身份验证”、“动态内容压缩”和“IIS 6 管理兼容性”这些组件。
&#160;
另外一开始用添加角色功能添加失败了，不知道是不是这个原因：
支持在 Windows Server 2008 R2 上安装（Windows Server 2008 R2中内置的WSUS SP1不支持在 Windows Server 2008 R2 RTM版本中安装）

改了ip地址之后，wsus死活连不上，重启update service服务正常，但是报一大堆错误，重启os，重装wsus都不行，最后发现是iis里面我把绑定从*改成了ip...nnd。
&#160;
WSUS 管理控制台无法通过远程 API 连接到 WSUS 服务器。 
请确保 Update Services 服务、IIS 和 SQL 正在该服务器上运行。如果该问题仍然存在，请尝试重新启动 IIS、SQL 和 Update Services 服务。 
System.Net.WebException -- 请求因 HTTP 状态 404 失败: Not Found。 
Source     Microsoft.UpdateServices.Administration 
Stack Trace:  [...]]]></description>
			<content:encoded><![CDATA[<p>安装基本和Windows 2003上一致，由于R2是64位，所以WSUS也要下载x64的。</p>
<p>是安装IIS时，需要分别安装“应用程序服务器”和“Web服务器(IIS)”。前者默认即可，后者需要添加“ASP.NET”、“Windows 身份验证”、“动态内容压缩”和“IIS 6 管理兼容性”这些组件。</p>
<p>&#160;</p>
<p>另外一开始用添加角色功能添加失败了，不知道是不是这个原因：</p>
<blockquote><p>支持在 Windows Server 2008 R2 上安装（Windows Server 2008 R2中内置的WSUS SP1不支持在 Windows Server 2008 R2 RTM版本中安装）</p>
</blockquote>
<p>改了ip地址之后，wsus死活连不上，重启update service服务正常，但是报一大堆错误，重启os，重装wsus都不行，最后发现是iis里面我把绑定从*改成了ip...nnd。</p>
<p>&#160;</p>
<blockquote><p>WSUS 管理控制台无法通过远程 API 连接到 WSUS 服务器。 </p>
<p>请确保 Update Services 服务、IIS 和 SQL 正在该服务器上运行。如果该问题仍然存在，请尝试重新启动 IIS、SQL 和 Update Services 服务。 </p>
<p>System.Net.WebException -- 请求因 HTTP 状态 404 失败: Not Found。 </p>
<p>Source     <br />Microsoft.UpdateServices.Administration </p>
<p>Stack Trace:     <br />&#160;&#160; 在 Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)      <br />&#160;&#160; 在 Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()      <br />&#160;&#160; 在 Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()      <br />&#160;&#160; 在 Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()      <br />&#160;&#160; 在 Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServerAndPopulateNode(Boolean connectingServerToConsole)      <br />&#160;&#160; 在 Microsoft.UpdateServices.UI.SnapIn.Common.ExtensionSnapInManager.OnInitialize()</p>
</blockquote>
<p>这个是报错。</p>
<p>参考：</p>
<p><a title="http://technet.microsoft.com/zh-cn/library/dd939916(WS.10).aspx" href="http://technet.microsoft.com/zh-cn/library/dd939916(WS.10).aspx">http://technet.microsoft.com/zh-cn/library/dd939916(WS.10).aspx</a></p>
<p><a title="http://winsvr.org/info/info.php?sessid=&amp;infoid=84" href="http://winsvr.org/info/info.php?sessid=&amp;infoid=84">http://winsvr.org/info/info.php?sessid=&amp;infoid=84</a></p>
<p><a title="http://daozhou.com/blog/article.asp?id=15" href="http://daozhou.com/blog/article.asp?id=15">http://daozhou.com/blog/article.asp?id=15</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/03/install-wsus3-in-windows2008r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux打开telnet-server功能</title>
		<link>http://www.baalchina.net/2010/02/linux-telnet/</link>
		<comments>http://www.baalchina.net/2010/02/linux-telnet/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 08:16:31 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/02/linux-telnet/</guid>
		<description><![CDATA[默认linux是关闭telnet-server功能的，我们来安装它。
安装：
[root@disk shell]# yum install telnet-server

telnet-server通过xinetd来控制的，编辑打开：
[root@disk shell]# vi /etc/xinetd.d/telnet

将disable修改为no。
重启一下xinetd:
[root@disk shell]# service xinetd restart     Stopping xinetd: [FAILED]      Starting xinetd: [&#160; OK&#160; ]      [root@disk shell]# 

&#160;
另外还要记得修改防火墙。并通过ntsysv将telnet加成服务。
&#160;
写完上面的我发现以前已经写过类似的了...http://www.baalchina.net/2008/08/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85telnet-server/
]]></description>
			<content:encoded><![CDATA[<p>默认linux是关闭telnet-server功能的，我们来安装它。</p>
<p>安装：</p>
<blockquote><p>[root@disk shell]# yum install telnet-server</p>
</blockquote>
<p>telnet-server通过xinetd来控制的，编辑打开：</p>
<blockquote><p>[root@disk shell]# vi /etc/xinetd.d/telnet</p>
</blockquote>
<p>将disable修改为no。</p>
<p>重启一下xinetd:</p>
<blockquote><p>[root@disk shell]# service xinetd restart     <br />Stopping xinetd: [FAILED]      <br />Starting xinetd: [&#160; OK&#160; ]      <br />[root@disk shell]# </p>
</blockquote>
<p>&#160;</p>
<p>另外还要记得修改防火墙。并通过ntsysv将telnet加成服务。</p>
<p>&#160;</p>
<p>写完上面的我发现以前已经写过类似的了...<a href="http://www.baalchina.net/2008/08/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85telnet-server/">http://www.baalchina.net/2008/08/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85telnet-server/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/02/linux-telnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>密码保护：简单的&#8220;网盘&#8221;程序</title>
		<link>http://www.baalchina.net/2010/02/%e7%ae%80%e5%8d%95%e7%9a%84%e7%bd%91%e7%9b%98%e7%a8%8b%e5%ba%8f/</link>
		<comments>http://www.baalchina.net/2010/02/%e7%ae%80%e5%8d%95%e7%9a%84%e7%bd%91%e7%9b%98%e7%a8%8b%e5%ba%8f/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 07:59:42 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/02/%e7%ae%80%e5%8d%95%e7%9a%84%e7%bd%91%e7%9b%98%e7%a8%8b%e5%ba%8f/</guid>
		<description><![CDATA[无法提供任何摘要。这是一篇受保护的文章。]]></description>
			<content:encoded><![CDATA[<form action="http://www.baalchina.net/wp-pass.php" method="post">
<p>这是一篇受密码保护的文章。您需要提供访问密码：</p>
<p><label for="pwbox-451">密码：<br />
<input name="post_password" id="pwbox-451" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="提交" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/02/%e7%ae%80%e5%8d%95%e7%9a%84%e7%bd%91%e7%9b%98%e7%a8%8b%e5%ba%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;由于协议错误，会话将被中断。请重新连接到远程计算机&#8221;的解决</title>
		<link>http://www.baalchina.net/2010/02/mstsc-error/</link>
		<comments>http://www.baalchina.net/2010/02/mstsc-error/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 01:20:27 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[mstsc]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/02/mstsc-error/</guid>
		<description><![CDATA[远程桌面，从Windows 7连接Windows 2003的时候遇到的。能够看到远程的界面，但是随后就弹出这个了。
&#160;
解决办法：
把服务器上的
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing

这个删掉就行了。记得备份。ps，没有重启…
]]></description>
			<content:encoded><![CDATA[<p>远程桌面，从Windows 7连接Windows 2003的时候遇到的。能够看到远程的界面，但是随后就弹出这个了。</p>
<p>&#160;</p>
<p>解决办法：</p>
<p>把服务器上的</p>
<blockquote><p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing</p>
</blockquote>
<p>这个删掉就行了。记得备份。ps，没有重启…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/02/mstsc-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX/Workstation使用OEM BIOS激活Windows 2008 R2</title>
		<link>http://www.baalchina.net/2010/02/win-2008-r2-on-vmware/</link>
		<comments>http://www.baalchina.net/2010/02/win-2008-r2-on-vmware/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 09:02:03 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[虚拟机技术]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/02/win-2008-r2-on-vmware/</guid>
		<description><![CDATA[2008R2的激活一直是个问题。不过有了oem激活就好多啦。
我安装时用的是这个iso
SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008R2_64-bit_ChnSimp_X15-59777.ISO

新建虚拟机，然后指定bios文件，如果是workstation的话，就编辑.vmx文件，在最后一行添加
bios440.filename = &#34;dell.rom&#34;

如果是ESX的话，就编辑虚拟机，选项，配置参数，同样添加如上。图上我机器开着，所以是灰色的。
 
不用担心路径问题，写错了会报错的。hoho。
然后启动系统，正常安装Windows。启动好之后打开cmd，运行如下即可
导入证书：
slmgr.vbs -ilc c:\dell.XRM-MS

然后导入序列号，如果是标准版：
standard     slmgr.vbs -ipk D7TCH-6P8JP-KRG4P-VJKYY-P9GFF 

如果是企业版：
enterprise     slmgr.vbs -ipk BKCJJ-J6G9Y-4P7YF-8D4J7-7TCWD

&#160;
然后就可以看到激活成功啦。
&#160;
感谢刘老大的rom以及证书文件~
]]></description>
			<content:encoded><![CDATA[<p>2008R2的激活一直是个问题。不过有了oem激活就好多啦。</p>
<p>我安装时用的是这个iso</p>
<blockquote><p>SW_DVD5_Windows_Svr_DC_EE_SE_Web_2008R2_64-bit_ChnSimp_X15-59777.ISO</p>
</blockquote>
<p>新建虚拟机，然后指定bios文件，如果是workstation的话，就编辑.vmx文件，在最后一行添加</p>
<blockquote><p>bios440.filename = &quot;dell.rom&quot;</p>
</blockquote>
<p>如果是ESX的话，就编辑虚拟机，选项，配置参数，同样添加如上。图上我机器开着，所以是灰色的。</p>
<p><a href="http://www.baalchina.net/wp-content/uploads/2010/02/r2.jpg"><img title="r2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="484" alt="r2" src="http://www.baalchina.net/wp-content/uploads/2010/02/r2_thumb.jpg" width="546" border="0" /></a> </p>
<p>不用担心路径问题，写错了会报错的。hoho。</p>
<p>然后启动系统，正常安装Windows。启动好之后打开cmd，运行如下即可</p>
<p>导入证书：</p>
<blockquote><p>slmgr.vbs -ilc c:\dell.XRM-MS</p>
</blockquote>
<p>然后导入序列号，如果是标准版：</p>
<blockquote><p>standard     <br />slmgr.vbs -ipk D7TCH-6P8JP-KRG4P-VJKYY-P9GFF </p>
</blockquote>
<p>如果是企业版：</p>
<blockquote><p>enterprise     <br />slmgr.vbs -ipk BKCJJ-J6G9Y-4P7YF-8D4J7-7TCWD</p>
</blockquote>
<p>&#160;</p>
<p>然后就可以看到激活成功啦。</p>
<p>&#160;</p>
<p>感谢刘老大的rom以及证书文件~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/02/win-2008-r2-on-vmware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>一个相册程序TiltViewer</title>
		<link>http://www.baalchina.net/2010/02/tiltviewer/</link>
		<comments>http://www.baalchina.net/2010/02/tiltviewer/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 07:10:32 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[tiltviewer]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/02/tiltviewer/</guid>
		<description><![CDATA[flash的，效果不错哦。
参看：
http://www.simpleviewer.net/tiltviewer/app/    http://hezi.info/logs/tiltviewer.html
]]></description>
			<content:encoded><![CDATA[<p>flash的，效果不错哦。</p>
<p>参看：</p>
<p><a title="http://www.simpleviewer.net/tiltviewer/app/" href="http://www.simpleviewer.net/tiltviewer/app/">http://www.simpleviewer.net/tiltviewer/app/</a>    <br /><a title="http://hezi.info/logs/tiltviewer.html" href="http://hezi.info/logs/tiltviewer.html">http://hezi.info/logs/tiltviewer.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/02/tiltviewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;这样使用RHEL合法吗&#8221;?(zt)</title>
		<link>http://www.baalchina.net/2010/01/isit-legal-to-use-rhel/</link>
		<comments>http://www.baalchina.net/2010/01/isit-legal-to-use-rhel/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 08:30:25 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/01/isit-legal-to-use-rhel/</guid>
		<description><![CDATA[某位网友在 Chinaunix.net 的 Linux 系统管理论坛中提出问题“这样使用 RHEL 合法吗？”：   “1. 从网络下载RHEL的ISO文件安装。    2. 不购买RHEL任何服务。    3. 移除系统中redhat注册商标(保留版本号...)。    4. 从ftp.redhat.com官方的srpm编译后升级/下载新版RHEL的ISO文件升级。    5. 使用当前系统自动维护其他子服务器。” 
该网友询问了 Red Hat 官方，得到一些价目表和授权文件，但答复“Red Hat 官方不提供任何法律指导”，意思也就是“到底合不合法，不妨猜猜看？” 本着疑义相与析的精神，各位网友就此展开了热烈的讨论，Red Hat 员工和业余法律爱好者们甚至进行了针锋相对的辩论。 
去年我正好研究过这个问题，现在把旧文找出来整理重贴。 
RHEL 的版权由 GPL 软件版权和 Red Hat 自有版权两部分组成，而由于 GPL 许可证具有传染性，故所有基于 GPL 开发的软件都要符合 GPL 条款，因此 Red [...]]]></description>
			<content:encoded><![CDATA[<p>某位网友在 Chinaunix.net 的 Linux 系统管理论坛中提出问题“这样使用 RHEL 合法吗？”：   <br />“1. 从网络下载RHEL的ISO文件安装。    <br />2. 不购买RHEL任何服务。    <br />3. 移除系统中redhat注册商标(保留版本号...)。    <br />4. 从ftp.redhat.com官方的srpm编译后升级/下载新版RHEL的ISO文件升级。    <br />5. 使用当前系统自动维护其他子服务器。” </p>
<p>该网友询问了 Red Hat 官方，得到一些价目表和授权文件，但答复“Red Hat 官方不提供任何法律指导”，意思也就是“到底合不合法，不妨猜猜看？” 本着疑义相与析的精神，各位网友就此展开了热烈的讨论，Red Hat 员工和业余法律爱好者们甚至进行了针锋相对的辩论。 </p>
<p>去年我正好研究过这个问题，现在把旧文找出来整理重贴。 </p>
<p>RHEL 的版权由 GPL 软件版权和 Red Hat 自有版权两部分组成，而由于 GPL 许可证具有传染性，故所有基于 GPL 开发的软件都要符合 GPL 条款，因此 Red Hat 自有版权部分在 RHEL 中只占很少的部分，只需删除所有 Red Hat Network Code 即可完全自由使用RHEL。这在 RHEL Subscriptions Renewal FAQs 里说得很清楚： </p>
<blockquote><p><em>6. If I don't renew, can I continue to use the software? </em></p>
<p><em>Yes, under the General Public License (GP), you may use the software and maintain your own custom version of Linux. However, you will not have access to: </em></p>
<p><em>* Technical support from Red Hat. </em></p>
<p><em>* Security or software updates via Red Hat Network. You will have to find updates from alternative resources that provide reliable, secure downloads. </em></p>
<p><em>* Support from certified hardware suppliers or software vendors like Oracle for applications running on an expired Red Hat Enterprise Linux subscription. </em></p>
<p><em>* Coverage from the Red Hat Open Source Assurance program, featuring an Intellectual Property Warranty for Red Hat Enterprise Linux customers. Red Hat designed the program to protect customers using open source solutions. </em></p>
<p><em>Please note that when your subscription expires you will still be bound by the terms and conditions of the End User License Agreement and will have to remove all copies of Red Hat Network Code. </em></p>
</blockquote>
<p>Red Hat 的营利模式是 Subscription Business Model，即通过向用户出售技术服务，获取相应年费营利，这在 Red Hat Store 网页上说得也很清楚： </p>
<p>其 Subscription 内容主要包括 phone support、web support 和 unlimited incidents。如果你的技术能力足以自我 Support，又何必购买如此昂贵的 Support 呢？ </p>
<p>这样使用 RHEL 完全合法。其实 Oracle 所谓的 Unbreakable Enterprise Linux 就是把 RHEL 改头换面，再低价出售 Compatiable Subscription（鄙视），详见： <a href="http://en.wikipedia.org/wiki/Oracle_Enterprise_Linux">http://en.wikipedia.org/wiki/Oracle_Enterprise_Linux</a></p>
<p>当 然，Red Hat 为 Linux 的发展付出了巨大的努力，他们提供的 Red Hat Enterprise Linux 系列较之同类产品，无论在功能还是性能方面都有极大的提升（相对于 Fedora 9 和 Ubuntu Server 的测试结果可以看出）。我们应该如何回馈 Red Hat，促使其继续保持对开源软件的巨大热情，进一步推动 RHEL 又好又快发展，这是大家都需要考虑的问题（欢迎购买 Red Hat 相关产品、服务，参加 RHCE/RHCA 认证培训和考试）。 </p>
<p>最后，向各位担心法律问题的朋友，奉上许可证检查脚本： CheckLicense.sh </p>
<blockquote><p>#!/bin/bash     <br /># Author: hutuworm (<a href="http://hutuworm.blogspot.com)">http://hutuworm.blogspot.com)</a>      <br /># RELEASED UNDER GPLv2. </p>
<p>for PACKAGE in `rpm -qa`     <br />do      <br />NOTICE=`rpm -qi $PACKAGE | grep License | grep -iE 'red ?hat'`      <br />if [ ! &quot;$NOTICE&quot; = &quot;&quot; ]      <br />then      <br />echo $PACKAGE &quot;:&quot; $NOTICE ;      <br />fi      <br />done </p>
</blockquote>
<p>在装有 RHEL 的服务器上执行： </p>
<blockquote><p># sh CheckLicense.sh </p>
</blockquote>
<blockquote><p>redhat-logos-1.1.14.3-1 : Size : 993129 License: Copyright ?1999-2002 Red Hat, Inc. All rights reserved. </p>
<p>anaconda-images-9.1-3.RHEL : Size : 5363878 License: Copyright ?2003 Red Hat, Inc. All rights reserved. </p>
<p>anaconda-product-3-1AS : Size : 75111 License: Copyright 2003 Red Hat, Inc. All rights reserved. </p>
</blockquote>
<p>那么只需要把 redhat-logos-1.1.14.3-1、anaconda-images-9.1-3.RHEL、anaconda-product-3-1AS 这三个 rpm 包用 rpm -e 命令从系统中移除，即可高枕无忧。</p>
<p>转载自：<a title="http://www.cnbeta.com/articles/65199.htm" href="http://www.cnbeta.com/articles/65199.htm">http://www.cnbeta.com/articles/65199.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/01/isit-legal-to-use-rhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNSTop，实时分析DNS解析数据</title>
		<link>http://www.baalchina.net/2010/01/dnstop/</link>
		<comments>http://www.baalchina.net/2010/01/dnstop/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 07:03:15 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[服务器管理]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnstop]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/01/dnstop/</guid>
		<description><![CDATA[想要分析你的dns都在解析那些站点？可以用dnstop~。基于的是tcpdump，类似于抓包，然后分析。
安装很简单，在这里下载：http://dns.measurement-factory.com/tools/dnstop/src/，需要libcacp以及ncurse的支持。
yum install ncurses-devel     yum install libpcap-devel 
./configure      make      make install

然后就可以运行了。直接打
[root@cernetdns-vm ~]# dnstop -4 -Q -R eth0

&#160;
就可以看到分析开始工作了。注意eth0，也就是说如果装在其他机器上也是可以生效的，他不是分析的dns的log，而是tcpdump中53端口的信息。
默认是查询者的ip，我们可以通过按键来实时改变结果

s，显示源ip
d，显示目标Ip
t，解析类型，A，AAAA，还是其他
1~9，显示解析层数，比如1就是.com，2就是qq.com
!~(，显示源+解析层数1~9。注意这是1~9键盘按键上面的字符。
空格刷新（但是不清空计数）
^R，清空计数
^X，退出
?，帮助。

很简单哦~来个截图，可见大家访问qq和迅雷很多呀...
Queries: 38 new, 47750 total&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Wed Jan 13 14:57:24 2010     Replies: 35 new, 47097 total 
Query Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Count&#160;&#160;&#160;&#160;&#160; %    [...]]]></description>
			<content:encoded><![CDATA[<p>想要分析你的dns都在解析那些站点？可以用dnstop~。基于的是tcpdump，类似于抓包，然后分析。</p>
<p>安装很简单，在这里下载：<a title="http://dns.measurement-factory.com/tools/dnstop/src/" href="http://dns.measurement-factory.com/tools/dnstop/src/">http://dns.measurement-factory.com/tools/dnstop/src/</a>，需要libcacp以及ncurse的支持。</p>
<blockquote><p>yum install ncurses-devel     <br />yum install libpcap-devel </p>
<p>./configure      <br />make      <br />make install</p>
</blockquote>
<p>然后就可以运行了。直接打</p>
<blockquote><p>[root@cernetdns-vm ~]# dnstop -4 -Q -R eth0</p>
</blockquote>
<p>&#160;</p>
<p>就可以看到分析开始工作了。注意eth0，也就是说如果装在其他机器上也是可以生效的，<font color="#ff0000">他不是分析的dns的log，而是tcpdump中53端口的信息。</font></p>
<p>默认是查询者的ip，我们可以通过按键来实时改变结果</p>
<ol>
<li>s，显示源ip</li>
<li>d，显示目标Ip</li>
<li>t，解析类型，A，AAAA，还是其他</li>
<li>1~9，显示解析层数，比如1就是.com，2就是qq.com</li>
<li>!~(，显示源+解析层数1~9。注意这是1~9键盘按键上面的字符。</li>
<li>空格刷新（但是不清空计数）</li>
<li>^R，清空计数</li>
<li>^X，退出</li>
<li>?，帮助。</li>
</ol>
<p>很简单哦~来个截图，可见大家访问qq和迅雷很多呀...</p>
<blockquote><p>Queries: 38 new, 47750 total&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Wed Jan 13 14:57:24 2010     <br />Replies: 35 new, 47097 total </p>
<p>Query Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Count&#160;&#160;&#160;&#160;&#160; %     <br />--------------------- --------- ------      <br />qq.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 13664&#160;&#160; 14.4      <br />sandai.net&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 6533&#160;&#160;&#160; 6.9      <br />edu.cn&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 6322&#160;&#160;&#160; 6.7      <br />com.cn&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4725&#160;&#160;&#160; 5.0      <br />kaspersky.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2998&#160;&#160;&#160; 3.2      <br />baidu.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2497&#160;&#160;&#160; 2.6      <br />xunlei.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2442&#160;&#160;&#160; 2.6      <br />baofeng.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2418&#160;&#160;&#160; 2.5      <br />wpad&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2218&#160;&#160;&#160; 2.3      <br />tencent.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1504&#160;&#160;&#160; 1.6      <br />renren.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1360&#160;&#160;&#160; 1.4      <br />cnzz.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1238&#160;&#160;&#160; 1.3      <br />360safe.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1194&#160;&#160;&#160; 1.3      <br />172.in-addr.arpa&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1160&#160;&#160;&#160; 1.2      <br />baofeng.net&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1064&#160;&#160;&#160; 1.1      <br />xiaonei.com&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 1058&#160;&#160;&#160; 1.1      <br />xnimg.cn&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 895&#160;&#160;&#160; 0.9</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/01/dnstop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>esx频繁从vcenter掉线的解决办法</title>
		<link>http://www.baalchina.net/2010/01/esx-server-disconnect/</link>
		<comments>http://www.baalchina.net/2010/01/esx-server-disconnect/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 06:41:07 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/01/esx-server-disconnect/</guid>
		<description><![CDATA[一台esx，频繁从esx掉线，重新连接后2min，就又掉线了。但是esx上的虚拟机的使用不受影响。
查了下，是esx的vcenter代理安装的问题。将代理卸掉重装即可。
&#160;
[root@esx-server /]# rpm -qa &#124; grep vpxa     VMware-vpxa-2.5.0-64192      [root@esx-server /]# rpm -qa &#124; grep aam      [root@esx-server /]# 
&#160;

后面一个可能没有。
然后删掉它：
[root@esx-server /]# rpm -e &#60;PackageName&#62;

再用vcenter重新连接，就可以了。
参考：
VMWare官方文档：http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&#38;docType=kc&#38;externalId=1006128&#38;sliceId=1&#38;docTypeID=DT_KB_1_1&#38;dialogID=1481206&#38;stateId=0%200%201483005
某blog:http://hi.baidu.com/jsnewbee/blog/item/d2626f4d85d50cfed62afc1a.html
]]></description>
			<content:encoded><![CDATA[<p>一台esx，频繁从esx掉线，重新连接后2min，就又掉线了。但是esx上的虚拟机的使用不受影响。</p>
<p>查了下，是esx的vcenter代理安装的问题。将代理卸掉重装即可。</p>
<p>&#160;</p>
<blockquote><p>[root@esx-server /]# rpm -qa | grep vpxa     <br />VMware-vpxa-2.5.0-64192      <br />[root@esx-server /]# rpm -qa | grep aam      <br />[root@esx-server /]# </p>
<p>&#160;</p>
</blockquote>
<p>后面一个可能没有。</p>
<p>然后删掉它：</p>
<blockquote><p>[root@esx-server /]# rpm -e &lt;PackageName&gt;</p>
</blockquote>
<p>再用vcenter重新连接，就可以了。</p>
<p>参考：</p>
<p>VMWare官方文档：<a title="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1006128&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=1481206&amp;stateId=0%200%201483005" href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1006128&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=1481206&amp;stateId=0%200%201483005">http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=1006128&amp;sliceId=1&amp;docTypeID=DT_KB_1_1&amp;dialogID=1481206&amp;stateId=0%200%201483005</a></p>
<p>某blog:<a title="http://hi.baidu.com/jsnewbee/blog/item/d2626f4d85d50cfed62afc1a.html" href="http://hi.baidu.com/jsnewbee/blog/item/d2626f4d85d50cfed62afc1a.html">http://hi.baidu.com/jsnewbee/blog/item/d2626f4d85d50cfed62afc1a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/01/esx-server-disconnect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Discuz发短消息提示xml解析错误</title>
		<link>http://www.baalchina.net/2010/01/disucz-xml-error/</link>
		<comments>http://www.baalchina.net/2010/01/disucz-xml-error/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 07:09:28 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[Comsenz]]></category>
		<category><![CDATA[Discuz]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.baalchina.net/2010/01/disucz-xml-error/</guid>
		<description><![CDATA[XML 解析错误：废弃 document 元素之后的内容位置：http://zone.nau.edu.cn/pm.php?action=new&#38;uid=17055&#38; infloat=yes&#38;handlekey=sendpm&#38;inajax=1&#38;ajaxtarget=fwin_content_sendpm 行：1，列：14：

到discuz.net搜索了一下，无解。
&#160;
进入uc后台，发现数据库某表报错，于是修复数据库，搞定。
真是莫名其妙的故障。。。
]]></description>
			<content:encoded><![CDATA[<blockquote><p>XML 解析错误：废弃 document 元素之后的内容位置：<a href="http://zone.nau.edu.cn/pm.php?action=new&amp;uid=17055&amp;">http://zone.nau.edu.cn/pm.php?action=new&amp;uid=17055&amp;</a> infloat=yes&amp;handlekey=sendpm&amp;inajax=1&amp;ajaxtarget=fwin_content_sendpm 行：1，列：14：</p>
</blockquote>
<p>到discuz.net搜索了一下，无解。</p>
<p>&#160;</p>
<p>进入uc后台，发现数据库某表报错，于是修复数据库，搞定。</p>
<p>真是莫名其妙的故障。。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2010/01/disucz-xml-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
