<?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 &#187; 技术</title>
	<atom:link href="http://www.9652.org/blog/archives/category/%E6%8A%80%E6%9C%AF/feed" rel="self" type="application/rss+xml" />
	<link>http://www.9652.org/blog</link>
	<description>I sit at my window this morning where the world like a passer by stops for a moment, nods to me and goes.</description>
	<lastBuildDate>Wed, 11 Jan 2012 12:58:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>通达OA移植到linux的新问题</title>
		<link>http://www.9652.org/blog/archives/507</link>
		<comments>http://www.9652.org/blog/archives/507#comments</comments>
		<pubDate>Sun, 19 Dec 2010 16:39:18 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=507</guid>
		<description><![CDATA[dreamhost较早前申明不再支持php4，我在上面跑过的一个oa，后来很久没用，最近应同事的需要，重新打开，发现有问题，猜测是php设置的问题，于是对比了下通达OA自带的php.ini，发现改一下下面几个参数，就可以很好的跑在php5上了，虽然通达官方Q&#38;A里声称3.0不支持php5。 下面是关键点： 1.allow_call_time_pass_reference = on 2.register_globals = on 3.register_argc_argv = off 4.include_path = oldsetting.&#8217;:/home/webroot&#8217; ps,如果你的机器上有其他系统，建议你建个子域名，映射到一个新目录，上面的参数可能会带来安全性的问题，具体google下。另外，不要在linux下用nano编辑php.ini，因为include_path可能很长，nano有可能会自动从等于号开始截成两行，使得参数失效，因为这个，害的我反反复复check了N次才发现问题。 改了这几个之后，从通达3.0到2010版都可以正常在linux下跑起来。 不过2010版还有个问题，mysql里面有两个view，导入到dreamhost的时候，提示没有权限CREATE ALGORITHM，只好建了个表先模拟view跑起来，这样肯定是有问题的，不知道是不是真的因为权限问题，虚拟主机下我也不想去研究了，等有心思或者真有人需要的时候，在vps上跑一个看看。 此问题已经搞定，用dreamhost空间的同学只需要移除”definer=&#8217;user&#8217;@'host&#8217;”即可。 说句题外话：这玩意做的真糙，思路和功能不说，国内网站的通病：只能在IE下跑，换到别的浏览器，死的很难看。 有需要的看演示（通达3.0和通达2010）的可以留言。 更新：如果你在一个site里面需要建多个通达OA，面对多个公司或部门，可以分别建数据库，更改oa_config.php。但最关键的一点，仍然是php.ini，由于需要将webroot写入include_path，让多个index需要调用inc/oa_config.php的时候，会去include_path里查找目录，由于多个OA公用一个参数，将导致只有排在最前面的那个path下的oa_config被调用。 解决办法也很简单，改php的解析方式，从apache的module改成cgi模式。在每个webroot下放一个cgi和对应的php.ini。 至此，通达2010在linux下已可以完美运行。]]></description>
			<content:encoded><![CDATA[<p>dreamhost较早前申明不再支持php4，我在上面跑过的一个oa，后来很久没用，最近应同事的需要，重新打开，发现有问题，猜测是php设置的问题，于是对比了下通达OA自带的php.ini，发现改一下下面几个参数，就可以很好的跑在php5上了，虽然通达官方Q&amp;A里声称3.0不支持php5。<br />
下面是关键点：<br />
1.allow_call_time_pass_reference = on<br />
2.register_globals = on<br />
3.register_argc_argv = off<br />
4.include_path = oldsetting.&#8217;:/home/webroot&#8217;<br />
ps,如果你的机器上有其他系统，建议你建个子域名，映射到一个新目录，上面的参数可能会带来安全性的问题，具体google下。另外，不要在linux下用nano编辑php.ini，因为include_path可能很长，nano有可能会自动从等于号开始截成两行，使得参数失效，因为这个，害的我反反复复check了N次才发现问题。</p>
<p>改了这几个之后，从通达3.0到2010版都可以正常在linux下跑起来。<br />
不过2010版还有个问题，mysql里面有两个view，导入到dreamhost的时候，提示没有权限CREATE ALGORITHM，只好建了个表先模拟view跑起来，这样肯定是有问题的，不知道是不是真的因为权限问题，虚拟主机下我也不想去研究了，等有心思或者真有人需要的时候，在vps上跑一个看看。</p>
<p>此问题已经搞定，用dreamhost空间的同学只需要移除”definer=&#8217;user&#8217;@'host&#8217;”即可。</p>
<p>说句题外话：这玩意做的真糙，思路和功能不说，国内网站的通病：只能在IE下跑，换到别的浏览器，死的很难看。<br />
有需要的看演示（通达3.0和通达2010）的可以留言。</p>
<p>更新：如果你在一个site里面需要建多个通达OA，面对多个公司或部门，可以分别建数据库，更改oa_config.php。但最关键的一点，仍然是php.ini，由于需要将webroot写入include_path，让多个index需要调用inc/oa_config.php的时候，会去include_path里查找目录，由于多个OA公用一个参数，将导致只有排在最前面的那个path下的oa_config被调用。</p>
<p>解决办法也很简单，改php的解析方式，从apache的module改成cgi模式。在每个webroot下放一个cgi和对应的php.ini。</p>
<p>至此，通达2010在linux下已可以完美运行。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/507/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vpn上不了https的原因</title>
		<link>http://www.9652.org/blog/archives/505</link>
		<comments>http://www.9652.org/blog/archives/505#comments</comments>
		<pubDate>Sun, 05 Sep 2010 00:26:00 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/archives/505</guid>
		<description><![CDATA[在centos5.5上装上了pptpd,配置正常，youtube也很流畅，但上不了部分https的网站。尝试改大了mtu后解决，我的改成了1496，记得加入ip-up，保证重启后仍然有效。]]></description>
			<content:encoded><![CDATA[<p>在centos5.5上装上了pptpd,配置正常，youtube也很流畅，但上不了部分https的网站。尝试改大了mtu后解决，我的改成了1496，记得加入ip-up，保证重启后仍然有效。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/505/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>断开了wp和buzz的connection</title>
		<link>http://www.9652.org/blog/archives/498</link>
		<comments>http://www.9652.org/blog/archives/498#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:49:12 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[同步]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=498</guid>
		<description><![CDATA[还是WP更适合post长篇大论,最近几次在buzz里面看到一长篇的文字,几乎都没什么兴趣去看完,觉得不够buzz,所以还是断了,不再同步wp到buzz了.]]></description>
			<content:encoded><![CDATA[<p>还是WP更适合post长篇大论,最近几次在buzz里面看到一长篇的文字,几乎都没什么兴趣去看完,觉得不够buzz,所以还是断了,不再同步wp到buzz了.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/498/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>限定某个process运行在某个core上</title>
		<link>http://www.9652.org/blog/archives/494</link>
		<comments>http://www.9652.org/blog/archives/494#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:33:10 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[affinity]]></category>
		<category><![CDATA[分配核心]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=494</guid>
		<description><![CDATA[现在的CPU通常都是双核甚至四核了,系统通常会在各个core之间自行分配和调度,但有时候我们可能也想自己手工来限定,比如让chrome跑在core0上,而让gcc跑在core1上,有没有办法能做到呢?当然有,打开任务管理器,在你的目标process上点右键,选set affinity&#8230;然后就自由发挥吧. ps,如果你是linux,那就试试taskset,比windows下点鼠标要方便点.]]></description>
			<content:encoded><![CDATA[<p>现在的CPU通常都是双核甚至四核了,系统通常会在各个core之间自行分配和调度,但有时候我们可能也想自己手工来限定,比如让chrome跑在core0上,而让gcc跑在core1上,有没有办法能做到呢?当然有,打开任务管理器,在你的目标process上点右键,选set affinity&#8230;然后就自由发挥吧.</p>
<p>ps,如果你是linux,那就试试taskset,比windows下点鼠标要方便点.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/494/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hiphop-php来了</title>
		<link>http://www.9652.org/blog/archives/492</link>
		<comments>http://www.9652.org/blog/archives/492#comments</comments>
		<pubDate>Thu, 18 Mar 2010 16:21:36 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[hiphop]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=492</guid>
		<description><![CDATA[有时间的时候玩玩,看看能否用来搞点有意思的东西.]]></description>
			<content:encoded><![CDATA[<p>有时间的时候玩玩,看看能否用来搞点有意思的东西.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/492/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp和buzz同步测试</title>
		<link>http://www.9652.org/blog/archives/490</link>
		<comments>http://www.9652.org/blog/archives/490#comments</comments>
		<pubDate>Fri, 26 Feb 2010 06:52:41 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/archives/490</guid>
		<description><![CDATA[刚刚在buzz里面看到了新贴,试试看能不能自动同步过去.]]></description>
			<content:encoded><![CDATA[<p>刚刚在buzz里面看到了新贴,试试看能不能自动同步过去.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/490/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>等待google的crawler</title>
		<link>http://www.9652.org/blog/archives/487</link>
		<comments>http://www.9652.org/blog/archives/487#comments</comments>
		<pubDate>Sun, 21 Feb 2010 14:08:50 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[同步]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/archives/487</guid>
		<description><![CDATA[刚刚参照http://code.google.com/apis/buzz/documentation/#connect 通过better feed插件做了点修改,等google来爬下就可以搞定wp和buzz的同步了.]]></description>
			<content:encoded><![CDATA[<p>刚刚参照http://code.google.com/apis/buzz/documentation/#connect<br />
通过better feed插件做了点修改,等google来爬下就可以搞定wp和buzz的同步了.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/487/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>添加yzhisense.com的spf记录</title>
		<link>http://www.9652.org/blog/archives/483</link>
		<comments>http://www.9652.org/blog/archives/483#comments</comments>
		<pubDate>Sun, 21 Feb 2010 13:47:14 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=483</guid>
		<description><![CDATA[现在支持spf check的mx服务器越来越多,为了减少邮件被误杀的机率,在dns里面加了一条txt记录.具体内容参照 http://wiki.dreamhost.com/SPF 设置完了别忘记发个邮件到check-auth@verifier.port25.com确认一下.]]></description>
			<content:encoded><![CDATA[<p>现在支持spf check的mx服务器越来越多,为了减少邮件被误杀的机率,在dns里面加了一条txt记录.具体内容参照</p>
<p>http://wiki.dreamhost.com/SPF</p>
<p>设置完了别忘记发个邮件到check-auth@verifier.port25.com确认一下.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/483/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让time machine用上samba</title>
		<link>http://www.9652.org/blog/archives/478</link>
		<comments>http://www.9652.org/blog/archives/478#comments</comments>
		<pubDate>Sat, 06 Feb 2010 08:01:47 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=478</guid>
		<description><![CDATA[osx里的time machine非常好用，之前就推荐过，但是他有个限制，职能使用local disk作为备份空间，我家里有个linux host，通过samba共享给windows和osx使用，一直也想让time machine使用samba空间而不是我的移动硬盘来备份。事实上是完全可以做到的，只要修改一个地方，如下： defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 很快你就会发现一些不一样的地方，呵呵，还不去试试。]]></description>
			<content:encoded><![CDATA[<p>osx里的time machine非常好用，之前就推荐过，但是他有个限制，职能使用local disk作为备份空间，我家里有个linux host，通过samba共享给windows和osx使用，一直也想让time machine使用samba空间而不是我的移动硬盘来备份。事实上是完全可以做到的，只要修改一个地方，如下：</p>
<pre>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</pre>
<pre>很快你就会发现一些不一样的地方，呵呵，还不去试试。</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/478/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rapidxen竟然开始提供windows2003</title>
		<link>http://www.9652.org/blog/archives/474</link>
		<comments>http://www.9652.org/blog/archives/474#comments</comments>
		<pubDate>Sun, 31 Jan 2010 14:45:36 +0000</pubDate>
		<dc:creator>minibear</dc:creator>
				<category><![CDATA[技术]]></category>

		<guid isPermaLink="false">http://www.9652.org/blog/?p=474</guid>
		<description><![CDATA[真不知道跑起来是什么效果，应该比linux系列要多废点ram，另外选这个os需要每月另外支付15刀，应该是license的原因。]]></description>
			<content:encoded><![CDATA[<p>真不知道跑起来是什么效果，应该比linux系列要多废点ram，另外选这个os需要每月另外支付15刀，应该是license的原因。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.9652.org/blog/archives/474/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

