<?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>王一的Blog - a one and a two</title>
	<atom:link href="http://www.mudone.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mudone.com</link>
	<description>Reborn - 治疗拖延症最好的方法就是立刻开始</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.mudone.com/?pushpress=hub'/>
		<item>
		<title>stay.</title>
		<link>http://www.mudone.com/2012/02/stay/</link>
		<comments>http://www.mudone.com/2012/02/stay/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 02:20:51 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[他们它们]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1826</guid>
		<description><![CDATA[Unless you try to do something beyond what you have already mastered, you will never grow. — Ralph Waldo Emerson]]></description>
			<content:encoded><![CDATA[<p>Unless you try to do something beyond what you have already mastered, you will never grow. — Ralph Waldo Emerson</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2012/02/stay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RG100A-AA路由器 + OpenWrt 导致的网络故障</title>
		<link>http://www.mudone.com/2011/12/rg100a-openwrt-fault/</link>
		<comments>http://www.mudone.com/2011/12/rg100a-openwrt-fault/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 09:06:23 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[说一句话]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1822</guid>
		<description><![CDATA[张生方案里使用了一个RG100A-AA路由器，并刷了OpenWrt作为二级路由。 但是最近发现无线可以连接，但是上不了网，把这个二级路由关掉后，就恢复正常，很是诡异。 今天无意登入到电信送的主路由器里发现有一个MAC地址被分配了192.168.1.1这个IP，恍然大悟，于是乎在主路由过滤掉这个MAC地址。。]]></description>
			<content:encoded><![CDATA[<p>张生方案里使用了一个RG100A-AA路由器，并刷了OpenWrt作为二级路由。</p>
<p>但是最近发现无线可以连接，但是上不了网，把这个二级路由关掉后，就恢复正常，很是诡异。</p>
<p>今天无意登入到电信送的主路由器里发现有一个MAC地址被分配了192.168.1.1这个IP，恍然大悟，于是乎在主路由过滤掉这个MAC地址。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/12/rg100a-openwrt-fault/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arch Linux是个好玩意儿。</title>
		<link>http://www.mudone.com/2011/12/arch-linux/</link>
		<comments>http://www.mudone.com/2011/12/arch-linux/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 04:53:43 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1816</guid>
		<description><![CDATA[Arch Linux是个好玩意儿。 一个轻量级发行版。 滚动更新对于我这个升级控来说很好用。 BSD风格的启动框架，对于我这个FreeBSD的粉丝来说用起来很舒服。 pacman对包依赖解决的也很好。 在/etc/rc.conf文件里就可以解决掉很多配置项。 软件仓库163有镜像。 ArchLinux哲学 轻便灵活，符合KISS原则。 采用BSD风格的启动脚本，集中管理，易懂易改。 统一的目录架构，避免一般软件分属/bin，/usr/local/bin等多个目录的弊病，将所有的包集中在/bin，/lib，/usr/man,/usr/share/man中。 精简的打包方式，删去部分说明，但保留了man page，从而使包装后的二进制包比一般的Linux小（例如：安装基础包和X视窗，仅需约100MB）。 软件初次安装后，仅为默认配置。可能需要包手册，才能了解后续配置。]]></description>
			<content:encoded><![CDATA[<p>Arch Linux是个好玩意儿。<br />
一个轻量级发行版。<br />
滚动更新对于我这个升级控来说很好用。<br />
BSD风格的启动框架，对于我这个FreeBSD的粉丝来说用起来很舒服。<br />
pacman对包依赖解决的也很好。<br />
在/etc/rc.conf文件里就可以解决掉很多配置项。<br />
软件仓库163有镜像。</p>
<p>ArchLinux哲学</p>
<ul>
<li>轻便灵活，符合KISS原则。
<ul>
<li>采用BSD风格的启动脚本，集中管理，易懂易改。</li>
<li>统一的目录架构，避免一般软件分属/bin，/usr/local/bin等多个目录的弊病，将所有的包集中在/bin，/lib，/usr/man,/usr/share/man中。</li>
<li>精简的打包方式，删去部分说明，但保留了man page，从而使包装后的二进制包比一般的Linux小（例如：安装基础包和X视窗，仅需约100MB）。</li>
<li>软件初次安装后，仅为默认配置。可能需要包手册，才能了解后续配置。</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/12/arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>常识、代码、生活以及游戏</title>
		<link>http://www.mudone.com/2011/12/science-code-life-financial-game/</link>
		<comments>http://www.mudone.com/2011/12/science-code-life-financial-game/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 03:17:14 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1812</guid>
		<description><![CDATA[我喜爱自然科学。 常识。 空气污染这个事情现在被闹得这么大，其实比较可笑。。。 非得要出个什么软件或者机构发布一个数据出来，大家才会去关注一下。。。 科普常识这个事情实在是个长久的大工程啊。。。 捎带推荐一本书：健康流言终结者 松鼠会的医学博士 &#8220;薄三郎&#8221; 所写。 上帝保佑呼吸了帝都毒气的苦逼人民。 代码。 先看这篇：《先要好代码？ 还是好产品？》。 少一些技术思维，多一些产品思路。 代码是为了产品服务的。最终&#8211;是为了服务生活。 生活。 微博上有一段时间总是有一些人在转发“炫耀”加班。但是。。。真的需要这样吗？ 如何高效有效的做事才是值得思考的。去看看Get thing Real &#038; Rework吧。 工作是为生活服务的。 游戏。 浑水上海中转站：中国“隐形人”的蓝海生意 I love this game.]]></description>
			<content:encoded><![CDATA[<p>我喜爱自然科学。</p>
<p>常识。<br />
空气污染这个事情现在被闹得这么大，其实比较可笑。。。<br />
非得要出个什么软件或者机构发布一个数据出来，大家才会去关注一下。。。</p>
<p>科普常识这个事情实在是个长久的大工程啊。。。<br />
捎带推荐一本书：<a href="http://book.douban.com/subject/6729866/" target="_blank">健康流言终结者</a> 松鼠会的医学博士 &#8220;薄三郎&#8221; 所写。<br />
上帝保佑呼吸了帝都毒气的苦逼人民。</p>
<p>代码。<br />
先看这篇：<a href="http://blog.jobbole.com/9087/" target="_blank">《先要好代码？ 还是好产品？》</a>。<br />
少一些技术思维，多一些产品思路。<br />
代码是为了产品服务的。最终&#8211;是为了服务生活。</p>
<p>生活。<br />
微博上有一段时间总是有一些人在转发“炫耀”加班。但是。。。真的需要这样吗？<br />
如何高效有效的做事才是值得思考的。去看看Get thing Real &#038; Rework吧。<br />
工作是为生活服务的。</p>
<p>游戏。<br />
<a href="http://www.21cbh.com/HTML/2011-12-3/1NMDcyXzM4NTM1Nw.html" target="_blank">浑水上海中转站：中国“隐形人”的蓝海生意</a><br />
I love this game.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/12/science-code-life-financial-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>http协议版本号导致的问题</title>
		<link>http://www.mudone.com/2011/11/http-version-fault/</link>
		<comments>http://www.mudone.com/2011/11/http-version-fault/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 14:18:39 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1808</guid>
		<description><![CDATA[一台小内存（主要是想说在小内存的机器上使用apache2作为后端关闭keep-alive比php-fpm稳定的多）机器上使用nginx作为前端，apache2作为后端。 今天在部署一个网站(基于slim framework)的时候访问提示如下错误： 内容编码错误 无法显示您尝试查看的页面，因为它使用了无效或者不支持的压缩格式。 网上搜了一些结果大部分都是碰到gzip头空白的问题。 搜索了一下代码并无相关gzip操作的代码。 遂继续搜索header操作的代码，发现一个Slim_Http_Response类里的属性$httpVersion默认是1.1，而nginx不支持1.1的后端服务。 于是就会提示错误。 相关链接：http://wiki.nginx.org/HttpProxyModule It is an HTTP/1.0 proxy without the ability for keep-alive requests yet. (As a result, backend connections are created and destroyed on every request.) Nginx talks HTTP/1.1 to the browser &#8230; <a href="http://www.mudone.com/2011/11/http-version-fault/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>一台小内存（主要是想说在小内存的机器上使用apache2作为后端关闭keep-alive比php-fpm稳定的多）机器上使用nginx作为前端，apache2作为后端。</p>
<p>今天在部署一个网站(基于slim framework)的时候访问提示如下错误：</p>
<blockquote><p>内容编码错误<br />
无法显示您尝试查看的页面，因为它使用了无效或者不支持的压缩格式。</p></blockquote>
<p>网上搜了一些结果大部分都是碰到gzip头空白的问题。<br />
搜索了一下代码并无相关gzip操作的代码。</p>
<p>遂继续搜索header操作的代码，发现一个Slim_Http_Response类里的属性$httpVersion默认是1.1，而nginx不支持1.1的后端服务。<br />
于是就会提示错误。</p>
<p>相关链接：http://wiki.nginx.org/HttpProxyModule</p>
<blockquote><p>It is an HTTP/1.0 proxy without the ability for keep-alive requests yet. (As a result, backend connections are created and destroyed on every request.) Nginx talks HTTP/1.1 to the browser and HTTP/1.0 to the backend server. As such it handles keep-alive to the browser. </p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/http-version-fault/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>使用nautilus-share打开Windows Share提示：“Failed to retrieve share list from server”解决方法。</title>
		<link>http://www.mudone.com/2011/11/nautilus-share-windows-share-failed-to-retrieve-share-list-from-server/</link>
		<comments>http://www.mudone.com/2011/11/nautilus-share-windows-share-failed-to-retrieve-share-list-from-server/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 03:49:50 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1804</guid>
		<description><![CDATA[Access it directly by ip address: nautilus smb://192.168.0.100 参考：http://ubuntuforums.org/showthread.php?t=1815360]]></description>
			<content:encoded><![CDATA[<p>Access it directly by ip address:</p>
<p>nautilus smb://192.168.0.100</p>
<p>参考：http://ubuntuforums.org/showthread.php?t=1815360</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/nautilus-share-windows-share-failed-to-retrieve-share-list-from-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clearstatcache</title>
		<link>http://www.mudone.com/2011/11/clearstatcache/</link>
		<comments>http://www.mudone.com/2011/11/clearstatcache/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 03:45:17 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1800</guid>
		<description><![CDATA[在进行stat()相关操作的时候先运行一下clearstatcache。 受影响的函数： stat(), lstat(), file_exists(), is_writable(), is_readable(), is_executable(), is_file(), is_dir(), is_link(), filectime(), fileatime(), filemtime(), fileinode(), filegroup(), fileowner(), filesize(), filetype(), and fileperms()。 http://php.net/manual/en/function.clearstatcache.php]]></description>
			<content:encoded><![CDATA[<p>在进行stat()相关操作的时候先运行一下clearstatcache。<br />
受影响的函数： stat(), lstat(), file_exists(), is_writable(), is_readable(), is_executable(), is_file(), is_dir(), is_link(), filectime(), fileatime(), filemtime(), fileinode(), filegroup(), fileowner(), filesize(), filetype(), and fileperms()。</p>
<p><a href="http://php.net/manual/en/function.clearstatcache.php" target="_blank">http://php.net/manual/en/function.clearstatcache.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/clearstatcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在VirtualHost里设置RewriteCond中%{REQUEST_FILENAME}无效的问题</title>
		<link>http://www.mudone.com/2011/11/virtualhost-invalid-request_file-of-rewritecond/</link>
		<comments>http://www.mudone.com/2011/11/virtualhost-invalid-request_file-of-rewritecond/#comments</comments>
		<pubDate>Thu, 10 Nov 2011 16:00:19 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1796</guid>
		<description><![CDATA[问题发生在将.htaccess里的rewrite规则转移到VirtualHost里之后。 原因是%{REQUEST_FILENAME}依然指向相对路径。 RewriteCond %{REQUEST_FILENAME} 改为： RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} 问题解决。 Rewrite的调试可以开启RewriteLog来跟踪： http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog 参考文章： http://lufei-99999.blog.163.com/blog/static/748495420115845922988/]]></description>
			<content:encoded><![CDATA[<p>问题发生在将.htaccess里的rewrite规则转移到VirtualHost里之后。<br />
原因是%{REQUEST_FILENAME}依然指向相对路径。</p>
<p>RewriteCond %{REQUEST_FILENAME}<br />
改为：<br />
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}<br />
问题解决。</p>
<p>Rewrite的调试可以开启RewriteLog来跟踪：<br />
<a href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog">http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog</a></p>
<p>参考文章：</p>
<p>http://lufei-99999.blog.163.com/blog/static/748495420115845922988/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/virtualhost-invalid-request_file-of-rewritecond/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Supervisord &amp; monit</title>
		<link>http://www.mudone.com/2011/11/supervisord-monit/</link>
		<comments>http://www.mudone.com/2011/11/supervisord-monit/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 15:56:29 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1794</guid>
		<description><![CDATA[用monit监控系统关键进程 monit是一款功能强大的系统状态、进程、文件、目录和设备的监控软件，用于*nix平台， 它可以自动重启那些已经挂掉的程序，非常适合监控系统关键的进程和资源，如：nginx、apache、mysql和cpu占有率等。 http://feilong.me/2011/02/monitor-core-processes-with-monit Supervisord是用Python实现的一款非常实用的进程管理工具，类似于monit(关于monit见我的博客:用monit监控系统关键进程)，monit和supervisord的一个比较大的差异是supervisord管理的进程必须由supervisord来启动，monit可以管理已经在运行的程序。 http://feilong.me/2011/03/monitor-processes-with-supervisord]]></description>
			<content:encoded><![CDATA[<p>用monit监控系统关键进程<br />
monit是一款功能强大的系统状态、进程、文件、目录和设备的监控软件，用于*nix平台， 它可以自动重启那些已经挂掉的程序，非常适合监控系统关键的进程和资源，如：nginx、apache、mysql和cpu占有率等。</p>
<p>http://feilong.me/2011/02/monitor-core-processes-with-monit</p>
<p>Supervisord是用Python实现的一款非常实用的进程管理工具，类似于monit(关于monit见我的博客:用monit监控系统关键进程)，monit和supervisord的一个比较大的差异是supervisord管理的进程必须由supervisord来启动，monit可以管理已经在运行的程序。</p>
<p>http://feilong.me/2011/03/monitor-processes-with-supervisord</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/supervisord-monit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php5-fpm SIGBUS</title>
		<link>http://www.mudone.com/2011/11/php5-fpm-sigbus/</link>
		<comments>http://www.mudone.com/2011/11/php5-fpm-sigbus/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 00:52:50 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[TechNote]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1792</guid>
		<description><![CDATA[child 19142 exited on signal 7 (SIGBUS) after 304.356752 seconds from start 做了两个设置： php5-fpm : emergency_restart_threshold 设置一个合适的值 php.ini : cgi.fix_pathinfo = 0 参考文章：http://blog.51osos.com/opensource/nginx-emergency-restart-threshold-sigsegv/]]></description>
			<content:encoded><![CDATA[<p>child 19142 exited on signal 7 (SIGBUS) after 304.356752 seconds from start</p>
<p>做了两个设置：<br />
php5-fpm : emergency_restart_threshold 设置一个合适的值<br />
php.ini : cgi.fix_pathinfo = 0</p>
<p>参考文章：http://blog.51osos.com/opensource/nginx-emergency-restart-threshold-sigsegv/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/php5-fpm-sigbus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

