<?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>hao32的个人日志 &#187; Unix/Linux</title>
	<atom:link href="http://www.hao32.com/category/unix-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hao32.com</link>
	<description>私人日志记录</description>
	<lastBuildDate>Fri, 23 Jul 2010 03:46:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>解决unable to find device node for dev ad4s1b in dev故障</title>
		<link>http://www.hao32.com/unix-linux/526.html</link>
		<comments>http://www.hao32.com/unix-linux/526.html#comments</comments>
		<pubDate>Fri, 11 Jun 2010 01:27:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[unable to find device node]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=526</guid>
		<description><![CDATA[昨天在一台比较老的机器上安装freebsd 8，结果分区完毕之后，在Commit步骤地时候，提示：
“Unable to find device node for /dev/ad4s1b in /dev!
The creation of filesystems will be aborted.”
看样子是硬盘的一些问题，我手头也没可用的额外的硬盘来测试，在google查阅了大量资料，众说纷纭吧，有说的DMA模式的问题，有说因为分区的时候不应该使用“W”，搞到凌晨 2点多，最后发现了这篇：http://www.pubbs.net/201002/freebsd/3072-80-install-fails-to-create-filesystem-quotunable-to-find-devicenodequot.html
<span class="readmore"><a href="http://www.hao32.com/unix-linux/526.html" title="解决unable to find device node for dev ad4s1b in dev故障" target="_blank">阅读全文——共975字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/526.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>解决error: &#8216;struct _zend_compiler_globals&#8217; has no member named &#8216;extended_info&#8217;</title>
		<link>http://www.hao32.com/unix-linux/519.html</link>
		<comments>http://www.hao32.com/unix-linux/519.html#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:04:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[apd]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=519</guid>
		<description><![CDATA[今天给php增加apd（Advanced PHP debugger）的扩展，发现如下错误：
/usr/local/src/apd-1.0.1/php_apd.c:967: error: &#8216;struct _zend_compiler_globals&#8217; has no member named &#8216;extended_info&#8217;
后google到：http://lists.freebsd.org/pipermail/freebsd-ports/2010-April/060557.html
前因后果不再阐述，见下文：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/519.html" title="解决error: &#8216;struct _zend_compiler_globals&#8217; has no member named &#8216;extended_info&#8217;" target="_blank">阅读全文——共690字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/519.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>关于irqbalance服务</title>
		<link>http://www.hao32.com/webserver/511.html</link>
		<comments>http://www.hao32.com/webserver/511.html#comments</comments>
		<pubDate>Sun, 04 Apr 2010 05:57:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server构架]]></category>
		<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[irqbalance]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=511</guid>
		<description><![CDATA[之前由于精简系统的服务而没有开启irqbalance服务，但是irqbalance现在被证实为非常有必要的服务，他的主要功能是可以合理的调配使用各个CPU核心，特别是对于目前主流多核心的CPU，简单的说就是能够把压力均匀的分配到各个CPU核心上，对提升性能有很大的帮助，我引用一段话：
启用 irqbalance 服务，既可以提升性能，又可以降低能耗。irqbalance 用于优化中断分配，它会自动收集系统数据以分析使用模式，并依据系统负载状况将工作状态置于 Performance mode 或 Power-save mode。处于 Performance mode 时，irqbalance 会将中断尽可能均匀地分发给各个 CPU core，以充分利用 CPU 多核，提升性能。处于 Power-save mode 时，irqbalance 会将中断集中分配给第一个 CPU，以保证其它空闲 CPU 的睡眠时间，降低能耗。(详见：http://www.irqbalance.org/documentation.php)
<span class="readmore"><a href="http://www.hao32.com/webserver/511.html" title="关于irqbalance服务" target="_blank">阅读全文——共648字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/webserver/511.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>进程上下文和中断上下文</title>
		<link>http://www.hao32.com/unix-linux/505.html</link>
		<comments>http://www.hao32.com/unix-linux/505.html#comments</comments>
		<pubDate>Fri, 19 Mar 2010 01:34:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[上下文]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=505</guid>
		<description><![CDATA[转载于：http://blog.chinaunix.net/u3/93613/showart_1907687.html
进程上下文和中断上下文是操作系统中很重要的两个概念，这两个概念在操作系统课程中不断被提及，是最经常接触、看上去很懂但又说不清楚到底怎么回事的两个概念。造成这种局面的原因，可能是原来接触到的操作系统课程的教学总停留在一种浅层次的理论层面上，没有深入去研究。

处理器总处于以下三种状态之一：
<span class="readmore"><a href="http://www.hao32.com/unix-linux/505.html" title="进程上下文和中断上下文" target="_blank">阅读全文——共4920字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/505.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>chattr和lsattr命令</title>
		<link>http://www.hao32.com/unix-linux/501.html</link>
		<comments>http://www.hao32.com/unix-linux/501.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 02:35:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[chattr]]></category>
		<category><![CDATA[lsattr]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=501</guid>
		<description><![CDATA[上次遇到了&#8221;sshd_config&#8221; E212: Can&#8217;t open file for writing，所以找到下 面这篇讨论： http://www.linuxquestions.org/questions/linux-server-73/cannot-edit-sshdconfig-as-root-510959/
进一步理解chattr和lsattr：
转载自：http://chinarhcx.blog.51cto.com/194419/157054
chattr命令的作用很大，其中一些功能是由Linux内核版本来支持的，如果Linux内核版本低于2.2，那么许多
<span class="readmore"><a href="http://www.hao32.com/unix-linux/501.html" title="chattr和lsattr命令" target="_blank">阅读全文——共2080字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/501.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决ssh登陆主机认证慢的问题</title>
		<link>http://www.hao32.com/unix-linux/491.html</link>
		<comments>http://www.hao32.com/unix-linux/491.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 12:24:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[.ssh]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=491</guid>
		<description><![CDATA[一般使用ssh去登陆linux主机的时候如果会慢，一般从以下几个方面入手分析原因：
本文系转载，原文地址：http://hi.baidu.com/jackli00/blog/item/51be9a00c13b110e1d958301.html
最近发现ssh连接的时候却很慢，ping的速度非常好，让人误以为是ssh连接不上。
分析结果，主要原因为：DNS的解析IP导致，可分别使用以下几种分析处理方式
<span class="readmore"><a href="http://www.hao32.com/unix-linux/491.html" title="解决ssh登陆主机认证慢的问题" target="_blank">阅读全文——共566字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/491.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Freebsd加速Ports替代fetch的方案 wget 、axel、 prozilla</title>
		<link>http://www.hao32.com/unix-linux/479.html</link>
		<comments>http://www.hao32.com/unix-linux/479.html#comments</comments>
		<pubDate>Mon, 01 Mar 2010 14:46:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[freebsd加速]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=479</guid>
		<description><![CDATA[本文系转载，原文地址：http://www.jondy.net/blog/freebsdportsfetch-wget-axel-prozilla/
我选了第二种，多线程比较时候偶们公司的光纤~
Freebsd 中 ports默认的下载时使用fetch 经常出现龟速。
替代的下载工具常用的有wget、axel、prozilla。
<span class="readmore"><a href="http://www.hao32.com/unix-linux/479.html" title="Freebsd加速Ports替代fetch的方案 wget 、axel、 prozilla" target="_blank">阅读全文——共436字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/479.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决类似”package libstdc++-4.3.0-8.x86_64 (which is newer than libstdc++-4.1.2-46.el5_4.2.i386) is already installed“的问题</title>
		<link>http://www.hao32.com/unix-linux/464.html</link>
		<comments>http://www.hao32.com/unix-linux/464.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:46:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[libstdc]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=464</guid>
		<description><![CDATA[今天升级下系统，yum -y update时候提示如下错误：
package libstdc++-4.3.0-8.x86_64 (which is newer than libstdc++-4.1.2-46.el5_4.2.i386) is already installed
解决办法：
shell> updatedb
<span class="readmore"><a href="http://www.hao32.com/unix-linux/464.html" title="解决类似”package libstdc++-4.3.0-8.x86_64 (which is newer than libstdc++-4.1.2-46.el5_4.2.i386) is already installed“的问题" target="_blank">阅读全文——共352字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/464.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>配置文件~/.ssh/config和/etc/ssh/ssh_config</title>
		<link>http://www.hao32.com/unix-linux/462.html</link>
		<comments>http://www.hao32.com/unix-linux/462.html#comments</comments>
		<pubDate>Thu, 14 Jan 2010 03:46:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[.ssh]]></category>
		<category><![CDATA[known_hosts]]></category>
		<category><![CDATA[ssh_config]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=462</guid>
		<description><![CDATA[一般不需要修改OpenSSH客户端配置文件。对于给定用户，共有两个配置文件，分别是~/.ssh/config（用户专用）和/etc/ssh/ssh_config（全局共享）。要按照该顺序读取这些文件，对于给定的某个参数，它使用的是读取过程中发现的第一个配置。用户可以通过以下方式将全局参数设置覆盖掉：在自己的配置文件中设置同样的参数。在ssh或scp命令行上给出的参数的优先级要高于这两个文件中所设置的参数的优先级。
用户的~/.ssh/config文件必须由该用户所有（他是目录&#8221;~/&#8221;的所有者），并且除了所有者之外任何人都不能写入该文件。否则客户端就会给出一条错误消息然后退出。这个文件的模式通常被设为600，这是因为除了它的所有者之外任何人都没有理由能够去读取它。
<span class="readmore"><a href="http://www.hao32.com/unix-linux/462.html" title="配置文件~/.ssh/config和/etc/ssh/ssh_config" target="_blank">阅读全文——共1946字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/462.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lvm调整磁盘空间大小</title>
		<link>http://www.hao32.com/unix-linux/456.html</link>
		<comments>http://www.hao32.com/unix-linux/456.html#comments</comments>
		<pubDate>Wed, 02 Dec 2009 09:29:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.hao32.com/?p=456</guid>
		<description><![CDATA[直接举例：
shell> fdisk /dev/hda
The number of cylinders for this disk is set to 5221.
There is nothing wrong with that, but this is larger than 1024,
<span class="readmore"><a href="http://www.hao32.com/unix-linux/456.html" title="lvm调整磁盘空间大小" target="_blank">阅读全文——共2869字</a></span>]]></description>
		<wfw:commentRss>http://www.hao32.com/unix-linux/456.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
