<?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>Software &#8211; richliu&#039;s blog</title>
	<atom:link href="https://blog.richliu.com/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Fri, 02 Apr 2021 14:07:17 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>WordPress Plugin 更新, 和我的 WordPress Plugin</title>
		<link>https://blog.richliu.com/2007/02/07/432/wordpress-plugin-%e6%9b%b4%e6%96%b0-%e5%92%8c%e6%88%91%e7%9a%84-wordpress-plugin/</link>
					<comments>https://blog.richliu.com/2007/02/07/432/wordpress-plugin-%e6%9b%b4%e6%96%b0-%e5%92%8c%e6%88%91%e7%9a%84-wordpress-plugin/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 07 Feb 2007 06:58:55 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[BLOG]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2007/02/07/432/</guid>

					<description><![CDATA[<p>最近幾天都在更新 WordPress 2.1 的 Plugin, 但是因為 Blog 的文章不太適合常常更新. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/02/07/432/wordpress-plugin-%e6%9b%b4%e6%96%b0-%e5%92%8c%e6%88%91%e7%9a%84-wordpress-plugin/">WordPress Plugin 更新, 和我的 WordPress Plugin</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>最近幾天都在更新 WordPress 2.1 的 Plugin, 但是因為 Blog 的文章不太適合常常更新. <br />我會放在我的 <a href="http://blog.richliu.com">Wiki</a> 上面 <a href="http://wiki.richliu.com/index.php/Wordpress_experience" target="_blank" rel="noopener">WordPress 心得</a></p>
<p><span id="more-432"></span></p>
<p>這次主要是刪除一些不常用的 Plugin. 另外新增二個主要的 Plugin <br /><a href="http://www.neato.co.nz/ultimate-tag-warrior/" target="_blank" rel="noopener">Ultimate Tag Warrior</a> 可以將 Blog 的文章, 以自定, 文章內定 或是 Catalog 內的 Tag 做成一個 Tag Cloud, 我參考<a set="yes" href="http://blog.tinyau.net/archives/2005/10/22/ultimate-tag-warrior-tutorial/" class="external text" title="http://blog.tinyau.net/archives/2005/10/22/ultimate-tag-warrior-tutorial/" rel="nofollow noopener" target="_blank">Ultimate Tag Warrior 教學</a> 就搞定了. 不會很難<br />另一個是 <a href="http://www.sonsofskadi.net/extended-live-archive/" target="_blank" rel="noopener">Extended Live Archive</a> 也就是目前 Blog 上方的 Archives 的功能.<br />原來搞半天, 還要弄什麼 Template blah blah . <a style="color: orange;" set="yes" href="http://getk2.com/" class="external text" title="http://getk2.com/" rel="nofollow noopener" target="_blank">K2 Theme </a>0.95RC 就有內建了. 直接打開 Enable Archive Page 的選項就可以了. </p>
<p>其他的部份. (我直接從 Wiki Copy 過來比較快)</p>
<ul>
<li><a set="yes" href="http://rmarsh.com/plugins/random-posts/" class="external text" title="http://rmarsh.com/plugins/random-posts/" rel="nofollow noopener" target="_blank">Random Posts</a> 隨機文章, 也是讓以前的文章浮上檯面的 Plugin</li>
</ul>
<ul>
<li> <a set="yes" href="http://www.homelandstupidity.us/software/bad-behavior/" class="external text" title="http://www.homelandstupidity.us/software/bad-behavior/" rel="nofollow noopener" target="_blank">Bad Behavior</a> 顧名思義, 這一個 Plugin 就是偵測不正常的 HTTP Request (疑似 SpamBot), 再擋下來, 我想可以在 Spam Karma 2 之前擋下一輪</li>
<li> <a set="yes" href="http://unknowngenius.com/blog/wordpress/spam-karma/" class="external text" title="http://unknowngenius.com/blog/wordpress/spam-karma/" rel="nofollow noopener" target="_blank">Spam Karma 2</a> 擋 Comment Spam 的工具, 如果不想給使用者用 AuthImage 之類的東西, 這個 Plugin 非常好用, 不過請注意, 這個 Plugin 不是 GPL, 不能使用在商業用途上(不確定賣賣 AD-SENSE 算不算呀) </li>
<li> <a set="yes" href="http://priyadi.net/archives/2005/03/29/wordpress-browser-detection-plugin/" class="external text" title="http://priyadi.net/archives/2005/03/29/wordpress-browser-detection-plugin/" rel="nofollow noopener" target="_blank">WordPress Browser Detection Plugin</a> 顯示使用者的 Browser &#8230;.. </li>
<li> <a set="yes" href="http://frenchfragfactory.net/ozh/archives/2004/08/27/ip-to-nation-plugin/" class="external text" title="http://frenchfragfactory.net/ozh/archives/2004/08/27/ip-to-nation-plugin/" rel="nofollow noopener" target="_blank">IP2Nation</a> 可以從 IP 顯示國家.. 還沒有打算用上去. *將要用* </li>
<li> <a set="yes" href="http://txfx.net/code/wordpress/identify-external-links/" class="external text" title="http://txfx.net/code/wordpress/identify-external-links/" rel="nofollow noopener" target="_blank">Identify External Links</a> 會顯示一個小小向外連的圖案. </li>
<li> <a set="yes" href="http://www.dagondesign.com/articles/wordpress-plugin-this-day/" class="external text" title="http://www.dagondesign.com/articles/wordpress-plugin-this-day/" rel="nofollow noopener" target="_blank">This Day</a> This Day Plugin, 可以顯示歷史上的今天的文章. 可以讓一些以前的文章浮出水面一下. 透透氣&nbsp;<img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </li>
<li> <a set="yes" href="http://txfx.net/code/wordpress/subscribe-to-comments/" class="external text" title="http://txfx.net/code/wordpress/subscribe-to-comments/" rel="nofollow noopener" target="_blank">Subscribe to Comments</a> 留言以後, 要是有新的留言就會寄信給使用者. 不錯的小工具, WordPress 2.1 要用 Subscribe to Comments 2.1 才能正常使用. </li>
<li> <a set="yes" href="http://harper.wirelessink.com/?p=104" class="external text" title="http://harper.wirelessink.com/?p=104" rel="nofollow noopener" target="_blank">WordPress Wii Edition Plugin</a> 就是 Wii 來觀賞時, 會有特別的Theme </li>
<li> <a set="yes" href="http://boakes.org/analytics" class="external text" title="http://boakes.org/analytics" rel="nofollow noopener" target="_blank">Google Analytics Plugin for WordPress</a> 可以簡單加上 Google Analytics Code . 有用 Google Analytics Account 就很方便了. </li>
<li> <a href="http://mnm.uib.es/gallir/wp-cache-2" class="external text" title="http://mnm.uib.es/gallir/wp-cache-2" rel="nofollow noopener" target="_blank">wp-cache</a> 可以讓你的網頁做成一個 Cache, Loading 大的 Blogger 應該使用這個 Plugin 減輕 Loading (像是小弟流量不大就免了&nbsp;:p) </li>
</ul>
<p>Ref.<br /><a href="http://wiki.richliu.com/index.php/Wordpress_experience" target="_blank" rel="noopener">WordPress 心得</a></p>
<p>[Tags] WordPress, plugin [/Tags]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/02/07/432/wordpress-plugin-%e6%9b%b4%e6%96%b0-%e5%92%8c%e6%88%91%e7%9a%84-wordpress-plugin/">WordPress Plugin 更新, 和我的 WordPress Plugin</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2007/02/07/432/wordpress-plugin-%e6%9b%b4%e6%96%b0-%e5%92%8c%e6%88%91%e7%9a%84-wordpress-plugin/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[雜談] 行銷真的很重要&#8230;&#8230;</title>
		<link>https://blog.richliu.com/2007/01/30/426/%e9%9b%9c%e8%ab%87-%e8%a1%8c%e9%8a%b7%e7%9c%9f%e7%9a%84%e5%be%88%e9/</link>
					<comments>https://blog.richliu.com/2007/01/30/426/%e9%9b%9c%e8%ab%87-%e8%a1%8c%e9%8a%b7%e7%9c%9f%e7%9a%84%e5%be%88%e9/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 30 Jan 2007 05:23:40 +0000</pubDate>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[工作]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2007/01/30/426/</guid>

					<description><![CDATA[<p>在 Digg 看到 World&#8217;s First BitTorrent Microprocessor [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/30/426/%e9%9b%9c%e8%ab%87-%e8%a1%8c%e9%8a%b7%e7%9c%9f%e7%9a%84%e5%be%88%e9/">[雜談] 行銷真的很重要&#8230;&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>在 Digg 看到 <a href="http://digg.com/hardware/World_s_First_BitTorrent_Microprocessor" target="_blank" rel="noopener">World&#8217;s First BitTorrent Microprocessor</a><br />
點進去一看, 才發現原文章的標題是<br />
<a href="http://www.emediawire.com/releases/2007/1/emw496216.htm" target="_blank" rel="noopener">IAdea/Star Semi Jointly Develop the First BitTorrent-Optimized Microprocessor</a><br />
<span id="more-426"></span><br />
其實會點出這一篇的原因是, <a href="http://no-5.blogspot.com/" target="_blank" rel="noopener">五號長輩</a>之前就有丟過類似的訊息給我. 節錄如下</p>
<blockquote><p>(14:39:13) < http://www.dailytech.com/article.aspx?newsid=5678
(14:41:33) > (Y)<br />
(14:41:38) > 真神奇<br />
(14:41:47) < 長輩公司也搞一個吧
(14:41:55) < 驢子板晶片 XD
(14:41:59) > 好像是我們家的呀~~~~~<br />
(14:42:06) < 啊?
</p></blockquote>
<p>這篇文章只有二個結論.<br />
1. 真是巧合呀, 很少會碰到朋友不知情的狀況介紹到自家產品<br />
2. 行銷真的很重要. 看這些標題會嚇死人, 可是仔細一看, 真的沒有什麼呀 (默)</p></blockquote>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/30/426/%e9%9b%9c%e8%ab%87-%e8%a1%8c%e9%8a%b7%e7%9c%9f%e7%9a%84%e5%be%88%e9/">[雜談] 行銷真的很重要&#8230;&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2007/01/30/426/%e9%9b%9c%e8%ab%87-%e8%a1%8c%e9%8a%b7%e7%9c%9f%e7%9a%84%e5%be%88%e9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Gentoo] Why I used Gentoo on my server. 我為什麼採用 Gentoo 當作我的系統.</title>
		<link>https://blog.richliu.com/2007/01/30/425/gentoo-why-i-used-gentoo-on-my-server-%e6%88%91%e7%82%ba%e4%bb%80%e/</link>
					<comments>https://blog.richliu.com/2007/01/30/425/gentoo-why-i-used-gentoo-on-my-server-%e6%88%91%e7%82%ba%e4%bb%80%e/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Mon, 29 Jan 2007 17:51:11 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2007/01/30/425/</guid>

					<description><![CDATA[<p>最近有一篇很紅的文章 Why Gentoo Shouldn’t be on Your Serve Link 大 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/30/425/gentoo-why-i-used-gentoo-on-my-server-%e6%88%91%e7%82%ba%e4%bb%80%e/">[Gentoo] Why I used Gentoo on my server. 我為什麼採用 Gentoo 當作我的系統.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>最近有一篇很紅的文章<br />
Why Gentoo Shouldn’t be on Your Serve <a href="http://www.playingwithwire.com/2007/01/why-gentoo-shouldnt-be-on-your-server/" target="_blank" rel="noopener">Link</a><br />
大致上是講 Gentoo 的好處和壞處.<br />
其實講的還算是很有道理，若是要看反面的意見，我想也可以看 comment 的第三個留言, Anonymous 寫的.<br />
我認為也寫的不錯. (原文超過 70+ 留言, 我沒力氣看完 ~_~)<br />
<span id="more-425"></span></p>
<p>今天來分享一下我使用 Gentoo 的心路歷程好了. </p>
<p>山寨剛成立的時候，我也是剛學 Linux ，選了很多套系統(包含 FreeBSD, 那時候不會燒光碟, 所以失敗)<br />
<a href="http://www.slackware.com/" target="_blank" rel="noopener">Slackware</a> (非常難裝的一套系統)<br />
而當時最紅的應該是 <a href="http://cle.linux.org.tw/wp/" target="_blank" rel="noopener">CLE</a> + <a href="http://www.redhat.com/" target="_blank" rel="noopener">Redhat</a> 6.0 (我記得應該是 5.9, 後來才有 6.0), 有完整的中文介面. 而且安裝容易, 架設也很簡單. 所以就拿這個架站了.<br />
剛開始方的時候的確沒有什麼問題, 而且也跑得很順, 要架什麼 Service 就上網抓抓 RPM 套件, 雖然有 Dependence 的問題, 不過只要相關的套件下載完，一個一個安裝上去，也沒有什麼大問題. </p>
<p>眾所皆知, 當年講 RPM 系統真的是講的跟神是一樣的, 安裝方便, 管理容易 blah blah. Red Hat 因為這樣才變成 Open Source 界第一把交椅的. 事實上, 在使用初期也是這樣, 不過缺點呢?<br />
如果什麼要升級的, 那就是要等人家包好 RPM. 若是沒有 RPM , 除了抓回來自己裝, 要不然就要等人包了.<br />
這些也還可以接受，畢竟就是這樣. 不過那個年代的 Security Hole 真是超級多，最知名的應該就是 <a href="http://www.sendmail.org" target="_blank" rel="noopener">Sendmail</a> 4 系列了，多如牛毛的漏洞, Update 都 Update 不完.<br />
另一個應該是 <a href="http://www.isc.org/index.pl?/sw/bind/" target="_blank" rel="noopener">Bind </a> , Bind 8 之前也是漏洞一大堆.  其他常見的還有 OpenSSH/OpenSSL/Aapche &#8230;&#8230; 一不小心就被人家寫的木馬捅得亂七八糟了. </p>
<p>而且這種機器都是 Open Service, 很怕被開洞, 所以三不五時就要升級, 若是 Redhat 有 Updated 的還好, 要是 Redhat 心情不好, 不出 Update. 那我不就是等死嗎? 所以上 <a href="http://rpmfind.net/" target="_blank" rel="noopener">RPMFIND</a> 找 RPM 套件, 自己找 Source 自己上 patch , 再安裝到系統上變成維護的主要工作.<br />
後來因為當時 <a href="http://www.mandriva.com/" target="_blank" rel="noopener">Mandrake (現在改名叫 Mandriva)</a>因為使用 KDE Interface. 重點是, Mandriva 有 urpmi 系列指令. 不用自己管 Dependence 的問題, 自然而然的就變成我的主力系統, 而這個想法也動到了 Server 的身上. </p>
<p>從 Redhat 6.2 升級到 Mandrake 8 是辛苦的(我忘了版本, 有記得再 Update 好了), 因為要從 glibc 一路升級上去, 而且我又是遠端 Update. 所以一定要確保系統不會有問題. 雖然 Redhat 和 Mandrake 都是 RPM Base 的 Distro . 不過 Dependence 的問題非常的嚴重呀, 要一個一個慢慢的解決. 每一次都確保 OpenSSH 可以連進去, 這樣爛了還有辦法救得回來.<br />
這也養成我現在升級系統完成後, 就會再 ssh 連進去, 確保系統正常. </p>
<p>換到 Mandrake 之後，我就開始唾棄 Redhat 了. 畢竟 Redhat 沒有像 Urpmi 這麼好用的指令.<br />
而且我和 Mandrake 也相處了好一陣子了, 直到 Mandrake 9.0.<br />
中間如果有 Mandrake 大升級, 就要將 Update Information 換一次, 然後再 urpmi 升級整個系統.<br />
循環了數次. 雖然沒有什麼大問題. 不過也是很麻煩的. </p>
<p>在這個中間，我因為工作的關係，管理了一陣子的 <a href="http://www.freebsd.org" target="_blank" rel="noopener">FreeBSD </a>的 <a href="http://www.freebsd.org/ports/" target="_blank" rel="noopener">Ports</a>. 那時就覺得, 這真是好物呀&#8230;. 為什麼 Linux 上沒有這麼好的系統.<br />
而在一次偶然的機會，在 <a href="http://cia.navi.cx/" target="_blank" rel="noopener">CIA</a> 看到 <a href="http://www.gentoo.org" target="_blank" rel="noopener">Gentoo </a>很多人用? 我就很好奇了, 怎麼有一套 Open Source 的 Distro 成長率比 <a href="http://www.debain.org" target="_blank" rel="noopener">Debain </a>還快 (那時沒有 ubuntu 吧 XD)<br />
我就去看一下, 不看還好, 一看之下, 哇~ 原來 Gentoo = Linux + Ports 呀(至少我心中是這麼想的啦).</p>
<p>接下來的故事就是將手上的 Linux 都慢慢的換成 Gentoo 了. 連 Notebook 都換了(我真的是重度使用者, 要是現在再重灌，我 Notebook 會改灌 Ubuntu)</p>
<p>其實這邊還下要講重點<br />
Gentoo 裝在 Server 上到底有什麼好處? 又有什麼壞處?<br />
優點:<br />
1. 不用大升級了: Gentoo 採 Ports 系統, 基本上下指令 &#8220;#emerge -u [package]&#8221; 就可以升級相關的套件, 若是不想升級相關的套件, 就用 &#8220;#emerge &#8211;oneshot [package]&#8221; 就可以了. </p>
<p>2. 安裝套件方便: 裝個 eix , 只要 &#8220;#eix -s keyword&#8221; 查詢名稱, &#8220;#eix -S keyword&#8221; 查詢描述, 就可以方便的找到套件. 接下來用 &#8220;#emerge [package]&#8221; 就會自動將相關的套件安裝完成. </p>
<p>3. USE Flag 系統: 可以自定 Flag . 使用指令 &#8220;#emerge -pv [package]&#8221; or &#8220;eix -s [package]&#8221; 都可以查詢到該套件相關的 Flags, 以 Apache 為例</p>
<blockquote><p> net-www/apache<br />
     Available versions:<br />
        (1)     1.3.34-r14 (~)1.3.37<br />
        (2)     2.0.58-r2 (~)2.0.59-r2 [M](~)2.2.3-r2 [M](~)2.2.4<br />
     Installed:           2.0.59-r2(2)(13時40分20秒 西元2006年11月13日)(apache2 -debug -doc -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool mpm-worker -selinux ssl -static-modules threads)<br />
     Homepage:            http://httpd.apache.org/<br />
     Description:         The Apache Web Server.</p></blockquote>
<p>可以自訂 MPM 的種類, 隨自己爽~~~~<br />
像是 Server 都用不到 X , 就可以用 USE Flags 將 X .gnome, qt 等等 library 排除在外, 自然就不會編進來.</p>
<p>4. Package Mask/Unmask/Advance Masking(Enable Unstable Package) Flag : 系統提供 Mask/Unmask 及 Advance Masking 系統. 可以讓使用者自由的設定套件是不是要安裝. 例如像第三點講到的 Apache, 2.2 的版本是Masked 的, 這時若是我想玩新東西, 我就可以考慮打開 Mask Flags.<br />
而有些套件是在 stability testing, 尚未開放, 也可以打開 ACCEPT_KEYWORD=&#8221;~x86&#8243; 啟動之.<br />
若是 Server 要用的, 我不會建議打開 Advance Masking Keyword.<br />
這個功能有很大的好處, 像是 MySQL 4.1 支援 Encoding 系統, 不過資料若是從  MySQL 4.0 搬上去, 可能除了 Database Encoding 有問題以外, 連 Password 可能都要改掉. 這時就可以用 Mask 限制在 4.0 不要升級上去. 以避掉這個問題. </p>
<p>缺點:<br />
1. 安裝不容易: 即使到了 Gentoo 2006.1 , 有了 GUI 界面的安裝系統, 我還是常常失敗, 最後都是輪落到手動 Install .</p>
<p>2. 安裝過程太久: 以我這麼有經驗的人, 安裝這個問題也常常花掉我半天的時間，大部份都是在 Compile, 其實並不是很有效率. </p>
<p>3. 對 Linux 要很熟: Gentoo 並沒有像是 Ubuntu or Mandriva 那樣的中央管理界面, 很多東西要自己去 /etc/conf.d/ 或是 /etc/env.d/ 下修改，若是對系統不夠熟悉的人，那是完全無法上手. 不過若是可以自己管理. 那小小修改一下，系統可以用很久呢(我 Notebook 的 Gentoo 用了二年都沒有重灌 XD)</p>
<p>4. 安裝套件過程太久: 若是用 genkernel 編 kernel 大概要 30mins+ 跑不掉. 每一個套件要編也是很久, 像是 glibc, 或是 gcc , 若是電腦 Power 不夠, 這個過程可是會等死人的. 更不要提  KDE/Gnome 這類大型的 Desktop Environment, 以 KDE 3.4 系列來說, 用 X31 大概要編個 12 小時吧. 不過如果是 Server 的話, 應該是可以接受的時間之內, 曾經用 Xeon 2.4G *2 + 2G Ram 的 Server 編 Apache 2, 不到一分鐘就編完了&#8230;. (Flag 要設對呀, 沒有 -j6 可沒這麼快)</p>
<p>5. 地雷很多, 像是 D-bus 就是一顆大地雷&#8230;&#8230;&#8230;. 其他會發生的地雷也不少, 所以 Server 要升級不能太快</p>
<p>注意事項:<br />
1. 除非是 Gentooist , 否則並不建議隨時隨地 follow 最新版走, 一不小心<a href="http://blog.richliu.com/2007/01/26/424/">[Gentoo] 地雷 D-Bus 1.0 和 vmware 5 不相容.</a>這種事就發生了. </p>
<p>2. 重要的 Library , 像是 glibc 升級之後, 記得用 &#8220;# revdep-rebuild&#8221; 重新 compile 有 library dependency 的 library/Software. </p>
<p>3. 升級 GCC 記得也要處理 Library 相關事宜. </p>
<p>4. Security Update 用 &#8220;#glsa-check -l | grep \\\[N\\\]&#8221; 就可以得到所有必需升級的套件, 升級這些套件就可以了，不需要常常 &#8220;#emerge -u world&#8221; 升級所有的套件, 或是 #emerge -De world&#8221; 整個系統重來一次, 那太變態了.</p>
<p>5. 對於修改 cflags 和 USES 等不需太期待, 我個人認為不會帶來很多好處, 那個 10-20% 的差異是感覺不到的. 若是你覺得 10-20% 有差的話, 應該這種事業己經大到有錢換新的 Hardware 了. </p>
<p>6. etc-update 時, 不要隨便換掉自己的 configure file. 那是災難的開始. 若是可以, 記得備份相關的 configure file.</p>
<p>7. 用 Distcc 將其他台 Gentoo 拉進來, 可以減少不少的 Compile 時間, 但是別用 ccache , 除非是正在開發套件, 否則這個東西只會浪費硬碟空間而己. </p>
<p>整體而言, 我認為 Gentoo 是一個好系統, 對於 Server 來說, 只要設定得宜, 是可長可久的系統.<br />
短時間可能沒有什麼好處, 但是時間拉長一看, Gentoo 可以減輕管理 Server 的難度.<br />
基本上我的 Gentoo Server 的存活期都大於 2 年, 這個可比許多套件的 Support 時間還長了(像是 <a href="http://fedora.redhat.com/" target="_blank" rel="noopener">Fedora Project</a>). 二年可以升級好多次了, 不過我也只安裝過一次.</p>
<p>至於 Desktop/Notebook 我就完全不建議了, 那很辛苦的, 什麼東西都要自己來, 除非是<br />
&#8220;自己的 Desktop 自己做&#8221; 的忠誠信徒, 要不然我會建議用 Ubuntu 之類的 Linux Distro , 那好搞多了.</p>
<p>Updates 延伸閱讀:<br />
<a href="http://haven.loki.ws" target="_blank" rel="noopener">Josh’s Blog</a> <a href="http://haven.loki.ws/blog/2007/01/why-gentoo-is-a-great-server-distribution-a-rebuttal/" target="_blank" rel="noopener">Why Gentoo is a Great Server Distribution (a Rebuttal)</a></p>
<p>[Tags] Gentoo, Linux , Server, FreeBSD, Ports, portage, Ubuntu, Debian, Slackware, Fedora, Mandrave, RedHat , Mandrake , Distcc, Ccache [/Tags]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/30/425/gentoo-why-i-used-gentoo-on-my-server-%e6%88%91%e7%82%ba%e4%bb%80%e/">[Gentoo] Why I used Gentoo on my server. 我為什麼採用 Gentoo 當作我的系統.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2007/01/30/425/gentoo-why-i-used-gentoo-on-my-server-%e6%88%91%e7%82%ba%e4%bb%80%e/feed/</wfw:commentRss>
			<slash:comments>19</slash:comments>
		
		
			</item>
		<item>
		<title>Flash 9 for Linux 正式版&#8230;&#8230;</title>
		<link>https://blog.richliu.com/2007/01/18/422/flash-9-%e6%ad%a3%e5%bc%8f%e7%89%88/</link>
					<comments>https://blog.richliu.com/2007/01/18/422/flash-9-%e6%ad%a3%e5%bc%8f%e7%89%88/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 17 Jan 2007 17:56:16 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2007/01/18/422/</guid>

					<description><![CDATA[<p>下載點Adobe Flash Player Download Center Linux (x86) 若是中文的 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/18/422/flash-9-%e6%ad%a3%e5%bc%8f%e7%89%88/">Flash 9 for Linux 正式版&#8230;&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>下載點<br /><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank" rel="noopener">Adobe Flash Player Download Center Linux (x86)</a></p>
<p>若是中文的使用者, 請按照這一篇修改</p>
<p><a set="yes" href="http://blog.richliu.com/2006/11/22/388/" rel="bookmark" title="Permanent Link to &quot;Flash Player 9 Update&quot;">Flash Player 9 Update</a> 執行 Firefox 的方法.</p>
<p>試了一下, 玩 <a href="http://novelconcepts.co.uk/FlashElementTD/" target="_blank" rel="noopener">Flash Element TD </a>和 <a href="http://www.lostvectors.com/prelude/index.html" target="_blank" rel="noopener">BowMaster </a>這兩個最近很紅的 Flash<br />感覺是沒有什麼問題. </p>
<p>不過在使用上還是有些不順的狀況, 先放著觀察一下好了. <br />能在 Linux 下用 Flash 9 還是很感動的呀 &#8230;&#8230;..</p>
<p>Update: 還是有很多怪問題, 還是先換回 Flash 7<br />主要還是 Flash 結束會讓 Firefox 當掉&#8230;.</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2007/01/18/422/flash-9-%e6%ad%a3%e5%bc%8f%e7%89%88/">Flash 9 for Linux 正式版&#8230;&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2007/01/18/422/flash-9-%e6%ad%a3%e5%bc%8f%e7%89%88/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>在 Linux 下用微軟正黑體&#8230;.</title>
		<link>https://blog.richliu.com/2006/12/30/409/%e5%9c%a8-linux-%e4%b8%8b%e7%94%a8%e5%be%ae%e8%bb%9f%e6%ad%a3%e9%bb/</link>
					<comments>https://blog.richliu.com/2006/12/30/409/%e5%9c%a8-linux-%e4%b8%8b%e7%94%a8%e5%be%ae%e8%bb%9f%e6%ad%a3%e9%bb/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sat, 30 Dec 2006 05:06:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/12/30/409/</guid>

					<description><![CDATA[<p>之前看朋友 RobertHu 用 Vista 後, 字型非常的好看, 就決定弄微軟正黑體來用, 試用之下果然是 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/12/30/409/%e5%9c%a8-linux-%e4%b8%8b%e7%94%a8%e5%be%ae%e8%bb%9f%e6%ad%a3%e9%bb/">在 Linux 下用微軟正黑體&#8230;.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>之前看朋友 RobertHu 用 Vista 後, 字型非常的好看, 就決定弄微軟正黑體來用, 試用之下果然是讓人滿意的, 目前 Firefox, 系統都改用正黑體了,&nbsp; 有人說 Mac 的黑體更好看, 不過我就沒有試過了, 有人有用過嗎?</p>
<p>在 Linux 下 ClearType 的選項也要打開, 要不然也會糊糊的, 整體來說, 除了 Gnome-Terminal 上 BBS 以外, 應該正黑體就足夠了. <br /><span id="more-409"></span></p>
<p><img decoding="async" src="http://static.flickr.com/145/338127275_a284316649_o.png" /></p>
<p>[Tags] Linux, 字型, 微軟正黑體 [/Tags]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/12/30/409/%e5%9c%a8-linux-%e4%b8%8b%e7%94%a8%e5%be%ae%e8%bb%9f%e6%ad%a3%e9%bb/">在 Linux 下用微軟正黑體&#8230;.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/12/30/409/%e5%9c%a8-linux-%e4%b8%8b%e7%94%a8%e5%be%ae%e8%bb%9f%e6%ad%a3%e9%bb/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Linux 下 ATi and NVidia 的 Overclock</title>
		<link>https://blog.richliu.com/2006/12/06/395/linux-%e4%b8%8b-ati-and-nvidia-%e7%9a%84-overclock/</link>
					<comments>https://blog.richliu.com/2006/12/06/395/linux-%e4%b8%8b-ati-and-nvidia-%e7%9a%84-overclock/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 06 Dec 2006 02:04:12 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/12/06/395/</guid>

					<description><![CDATA[<p>看來有人實作出來了. 先記錄一下&#8230;. http://www.phoronix.com/scan.p [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/12/06/395/linux-%e4%b8%8b-ati-and-nvidia-%e7%9a%84-overclock/">Linux 下 ATi and NVidia 的 Overclock</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>看來有人實作出來了.  先記錄一下&#8230;.</p>
<p>http://www.phoronix.com/scan.php?page=article&#038;item=598&#038;num=1</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/12/06/395/linux-%e4%b8%8b-ati-and-nvidia-%e7%9a%84-overclock/">Linux 下 ATi and NVidia 的 Overclock</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/12/06/395/linux-%e4%b8%8b-ati-and-nvidia-%e7%9a%84-overclock/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Firefox 2.0 正式版</title>
		<link>https://blog.richliu.com/2006/10/24/374/firefox-20-%e6%ad%a3%e5%bc%8f%e7%89%88/</link>
					<comments>https://blog.richliu.com/2006/10/24/374/firefox-20-%e6%ad%a3%e5%bc%8f%e7%89%88/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 24 Oct 2006 07:33:57 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/10/24/374/</guid>

					<description><![CDATA[<p>雖然網頁都還沒有換, 但是看起來 Firefox 2.0 己經 Release Firefox 2.0 中文版 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/24/374/firefox-20-%e6%ad%a3%e5%bc%8f%e7%89%88/">Firefox 2.0 正式版</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><del datetime="2006-10-26T02:43:37+00:00">雖然網頁都還沒有換, 但是看起來 </del>Firefox 2.0 己經 Release<br />
Firefox 2.0<a href="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/2.0/win32/zh-TW" target="_blank" rel="noopener"> 中文版下載</a></p>
<p>因為我自己是用 Gentoo, <del datetime="2006-10-26T02:43:37+00:00">所以目前還在 RC3 (Gentoo 要等 Source 出來再一到二天才會更新)<br />
目前用 RC3 的感覺</del>.目前己經換到 2.0 正式版, 除了記憶體耗用&#8221;感覺&#8221;比較兇以外,<br />
我要說速度好快, 看美女圖的速度加倍了 (當然碰到某有名大站就快不起來了, 尤其是昨天被 DDoS 後, 根本連不上)</p>
<p>如果看圖站沒有辦法按右鍵下載<br />
在工具->偏好設定->內容->啟用JavaScript->進階->停用或取代右鍵選單 這個選項關掉就可以了.</p>
<p>目前沒有碰到什麼大問題, 衝了吧 XD</p>
<p>Update:<br />
<a href="http://en-us.www.mozilla.com/en-US/firefox/2.0/releasenotes/" target="_blank" rel="noopener">Firefox Release</a><br />
<a href="http://moztw.org/" target="_blank" rel="noopener">MozTW</a></p>
<p>Update2:<br />
看起來 Firefox 正在舉辦 <a href="http://www.firefoxparty.com/parties/view/10" target="_blank" rel="noopener">Party</a>, 台灣是 <a href="http://moztw.org/" target="_blank" rel="noopener">MozTW</a> 辦的, 詳情請見 Firefox <a href="http://groups-beta.google.com/group/fx2-event-tw" target="_blank" rel="noopener">2 Launch event</a></p>
<p>Ref. <a href="http://blog.ijliao.info/archives/2006/10/25/2643/" target="_blank" rel="noopener">蔡依林的部落格</a> (我承認我是搞 Google Bomb XD)</p>
<p>[tags] Firefox [/tags]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/24/374/firefox-20-%e6%ad%a3%e5%bc%8f%e7%89%88/">Firefox 2.0 正式版</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/10/24/374/firefox-20-%e6%ad%a3%e5%bc%8f%e7%89%88/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Flash 9 for Linux lab version.</title>
		<link>https://blog.richliu.com/2006/10/20/372/flash-9-for-linux-lab-version/</link>
					<comments>https://blog.richliu.com/2006/10/20/372/flash-9-for-linux-lab-version/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 20 Oct 2006 05:12:57 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/10/20/372/</guid>

					<description><![CDATA[<p>Flash 9 for Linux 有一點風聲了, 有 Lab 版可以裝, 我裝在我的 Gentoo Linu [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/20/372/flash-9-for-linux-lab-version/">Flash 9 for Linux lab version.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Flash 9 for Linux 有一點風聲了, 有 Lab 版可以裝, </p>
<p>我裝在我的 Gentoo Linux 下, 可以執行, 也可以看影片, 不過就是不穩定.<br />
常常會 Core dump (頻率很高, 大概是看完二個網頁的時間吧)</p>
<p>Gentoo Linux 下除了<br />
~/.mozilla/plugins/libflashplayer.so 要換掉以外<br />
/opt/netscape/plugins/ 下的 libflashplayer.so 也要換掉 (我想是因為我裝 mplayer plugin 的關係)</p>
<p>因為不穩定, 我就先暫時換回 Flash 7 了, 等更穩定的 Beta 出來再說了 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>ref.<br />
<a href="http://www.adobe.com/go/fp9_update_b1_installer_linuxplugin
tar xzfv FP9_plugin_beta_101806.tar.gz" target="_blank" rel="noopener">Download</a><br />
<a href="http://linux.edu.lv/index.php?name=News&#038;file=article&#038;sid=244" target="_blank" rel="noopener">Flash 9 beta available for Linux</a><br />
<a href="http://blogs.adobe.com/penguin.swf/" target="_blank" rel="noopener">Flash for Linux 官方 Blog</a></p>
<p>[tag] flash9, linux, gentoo [/tag]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/20/372/flash-9-for-linux-lab-version/">Flash 9 for Linux lab version.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/10/20/372/flash-9-for-linux-lab-version/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Filezilla 3 Beta</title>
		<link>https://blog.richliu.com/2006/10/20/371/filezilla-3-beta/</link>
					<comments>https://blog.richliu.com/2006/10/20/371/filezilla-3-beta/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 20 Oct 2006 03:16:42 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/10/20/371/</guid>

					<description><![CDATA[<p>那天下載 Filezilla 3 的時候, 發現有 Filezilla 3 Beta 的出現. 好奇一下, 看 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/20/371/filezilla-3-beta/">Filezilla 3 Beta</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>那天下載 Filezilla 3 的時候, 發現有 Filezilla 3 Beta 的出現.<br />
好奇一下, 看看有沒有什麼新的功能.<br />
結果發現一件事, Filezilla 3 是 Cross Platform 的 FTP Transfer Software.<br />
<span id="more-371"></span></p>
<p>目前己經編好的 Binary 同時支援四個 OS<br />
* FreeBSD(x86)<br />
* Linux(x86)<br />
* Apple (PowerPC/x86)<br />
* Windows </p>
<p>其實我最在意的是, 能不能支援 Big5 中文和 UTF-8 ,<br />
因為我的 localhost 端是 UTF-8 系統, 而遠端還是 Big5 </p>
<p>下載了幾個檔案, 看起來是沒有問題的,<br />
有圖有真相</p>
<p><a href="http://www.flickr.com/photos/12047608@N00/274326360/" target="_blank" rel="noopener"><img decoding="async" src="http://static.flickr.com/116/274326360_b6a8de0ed2.jpg?v=0" alt="" /></a></p>
<p>而且看起來字元集是 By FTP Site 設定的, Filezilla 原來的介面也很好用, Filezill 3 Beta 2<br />
比原來的差一點, 有些動作不能拖拉.<br />
背後是使用 <a href="http://www.wxwidgets.org/" target="_blank" rel="noopener">WxWidgets</a> 做為 Crossplatform 的 core.<br />
看起來可能中文輸入會有問題, 晚一點再來試了. </p>
<p>如果有在常在用 Linux, 我會建議改用 Filezilla 了 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
<a href="http://gftp.seul.org/" target="_blank" rel="noopener">gftp</a> byebye.<br />
<a href="kbear.sourceforge.net/">kbear</a> byebye ~</p>
<p>[tags] FileZilla, FTP, software [/tags]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/10/20/371/filezilla-3-beta/">Filezilla 3 Beta</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/10/20/371/filezilla-3-beta/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>OpenVPN 小記</title>
		<link>https://blog.richliu.com/2006/09/05/348/openvpn-%e5%b0%8f%e8%a8%98/</link>
					<comments>https://blog.richliu.com/2006/09/05/348/openvpn-%e5%b0%8f%e8%a8%98/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 05 Sep 2006 05:52:04 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[easyrsa]]></category>
		<category><![CDATA[openvpn]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/09/05/348/</guid>

					<description><![CDATA[<p>因為看到有人說 OpenVPN 非常好用, 所以就用 OpenVPN 2.0.7 架了一個站, 在一個晚上試誤 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/09/05/348/openvpn-%e5%b0%8f%e8%a8%98/">OpenVPN 小記</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>因為看到有人說 OpenVPN 非常好用, 所以就用 OpenVPN 2.0.7 架了一個站, 在一個晚上試誤之下,<br /></p>



<p>Client Config File</p>



<pre class="wp-block-code"><code>client
dev tun
dev-node MyTap
proto tcp
remote 111.222.333.444 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 3</code></pre>



<p>Server Config File</p>



<pre class="wp-block-code"><code>#
dev tun
port 1194
# use tcp, could pass by proxy server
proto tcp

server 192.168.10.0 255.255.255.0
push "redirect-gateway"
push "dhcp-option DNS 168.95.192.2"
# Let client connect to another client
;client-to-client
ifconfig-pool-persist ipp.txt
keepalive 10 120

tls-server
dh /usr/share/openvpn/easy-rsa/keys/dh2048.pem
ca /usr/share/openvpn/easy-rsa/keys/ca.crt
cert /usr/share/openvpn/easy-rsa/keys/server.crt
key /usr/share/openvpn/easy-rsa/keys/server.key
; user nobody
; group nobody

comp-lzo
; ping 15
; ping-restart 45
; ping-timer-rem
persist-tun
persist-key
status openvpn-status.log
verb 3</code></pre>



<h3 class="wp-block-heading">產生 Key 的部份</h3>



<ol class="wp-block-list"><li>cd /usr/share/openvpn/easy-rsa</li><li>vim vars</li><li>將 Key 長度改 2048</li><li>其他的 Information 也要相對修改</li><li>source ./vars</li><li>./clean-all</li><li>./build-dh</li><li>./build-ca</li><li>./build-key-server server</li><li>修改 /etc/opensvn/opensvn.conf<ol><li>將 ca.crt, server.crt, server.key 指到 /usr/share/openvpn/easy-rsa/keys 下</li></ol></li><li>./build-key client1<ol><li>將 client1.crt , celient1.key, ca.crt copy 到 Windows 端</li></ol></li></ol>



<p>[<a href="https://web.archive.org/web/20120423203456/http://wiki.richliu.com/index.php?title=OpenVPN&amp;action=edit&amp;section=4" target="_blank" rel="noopener">編輯</a>]</p>



<h3 class="wp-block-heading">其他需注意的部份</h3>



<ul class="wp-block-list"><li>使用 OpenVPN GUI 可以即時設定 Proxy</li><li>如果要設定 Proxy, 連線的 Protocol 要使用 TCP.</li><li>如果 syslog 有 &#8220;Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)&#8221;, 請下以下指令</li></ul>



<pre class="wp-block-preformatted">mkdir /dev/net; mknod -m0600 /dev/net/tun c 10 200</pre>



<p>如果有任何問題, 可以在我的 Comment 留言, wiki 不開放修改.</p>



<p>2017/01/18 Update<br />時隔 10 年發現 Key 過期了, 所以跑回來修一下文章 (只有 Key 部份)</p>



<p>安裝 easy-rsa 套件</p>



<pre class="wp-block-preformatted"> 
$ emerge --ask app-crypt/easy-rsa
</pre>



<p>copy easy-rsa 套件到 openvpn 下</p>



<pre class="wp-block-preformatted">$ cd /etc/openvpn
$ cp -a /usr/share/easy-rsa .
$ cd easy-rsa
$ mv vars.example vars
</pre>



<p>修改 vars 內, 我比較傳統, 走舊式的方式</p>



<pre class="wp-block-preformatted">set_var EASYRSA_DN      "org"
set_var EASYRSA_REQ_COUNTRY     "TW"
set_var EASYRSA_REQ_PROVINCE    "Taiwan"
set_var EASYRSA_REQ_CITY        "New Taipei"
set_var EASYRSA_REQ_ORG         "domain.com"
set_var EASYRSA_REQ_EMAIL       "email@domain.com"
set_var EASYRSA_REQ_OU          "Organizational Unit"
</pre>



<p>編輯完之後 清除所有的 PKI 設定</p>



<pre class="wp-block-preformatted">$ ./easyrsa init-pki
</pre>



<p>建立 ca 資訊, ca 要輸入密碼, 請記好. dh 是產生 Diffie-Hellman .pem file</p>



<pre class="wp-block-preformatted">$ ./easyrsa build-ca
$ ./easyrsa gen-dh
</pre>



<p>建立 Server 和 Client Key 資訊</p>



<pre class="wp-block-preformatted">$ ./easyrsa build-server-full server1 nopass
$ ./easyrsa build-client-full client1 nopass
</pre>



<p>中間有問密碼就是 ca 的密碼</p>



<p>最後, 編輯 /etc/openvpn/openvpn.conf<br />加上</p>



<pre class="wp-block-preformatted">dh /etc/openvpn/easy-rsa/pki/dh.pem
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/server1.crt
key /etc/openvpn/easy-rsa/pki/private/server1.key
</pre>



<p>這樣應該就可以了, 下次更新不知道會不會是十年後的事情了呢?</p>



<p>ref.<br /><a href="https://wiki.gentoo.org/wiki/Create_a_Public_Key_Infrastructure_Using_the_easy-rsa_Scripts" target="_blank" rel="noopener">Create a Public Key Infrastructure Using the easy-rsa Scripts</a> : 其實是我改的, 原來文件過期太久了&#8230; -_-!<br />其實原來是參考 Arch 的文件, 不過太麻煩了<br />https://wiki.archlinux.org/index.php/Easy-RSA</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/09/05/348/openvpn-%e5%b0%8f%e8%a8%98/">OpenVPN 小記</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/09/05/348/openvpn-%e5%b0%8f%e8%a8%98/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>來參加 World Firefox Day 的活動吧&#8230;</title>
		<link>https://blog.richliu.com/2006/07/16/338/%e4%be%86%e5%8f%83%e5%8a%a0-world-firefox-day-%e7%9a%84%e6%b4%bb%e5/</link>
					<comments>https://blog.richliu.com/2006/07/16/338/%e4%be%86%e5%8f%83%e5%8a%a0-world-firefox-day-%e7%9a%84%e6%b4%bb%e5/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 16 Jul 2006 14:58:21 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/07/16/338/</guid>

					<description><![CDATA[<p>還記得 Firefox 1.0 的時候, 在 New York Times 頭版判登廣告的壯舉吧 圖片可以看這 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/07/16/338/%e4%be%86%e5%8f%83%e5%8a%a0-world-firefox-day-%e7%9a%84%e6%b4%bb%e5/">來參加 World Firefox Day 的活動吧&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>還記得 Firefox 1.0 的時候, 在 New York Times  頭版判登廣告的壯舉吧<br />
圖片可以看<a href="http://flickr.com/photos/brucetct/2253602/" target="_blank" rel="noopener">這邊</a></p>
<p>現在, Firefox 2.0 要推出之際, Firefox Team 舉辦了 World Fiefox Day 活動, 只要你推薦一位沒有使用 Firefox 的朋友在 9 月 15 日前下載 Firefox , 你們兩位的名字就會留在 Firefox 2.0 內做為紀念.</p>
<p>還等什麼, 上了吧 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="http://www.spreadfirefox.com/node/24241" target="_blank" rel="noopener"><br />
World Firefox Day Launches</a> Spreadfirefox 網站的文章<br />
<a href="http://www.worldfirefoxday.com/en/" target="_blank" rel="noopener">Become a Friend of Firefox</a> World Firefox Day 活動的網頁, 目前不支援中文.</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/07/16/338/%e4%be%86%e5%8f%83%e5%8a%a0-world-firefox-day-%e7%9a%84%e6%b4%bb%e5/">來參加 World Firefox Day 的活動吧&#8230;</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/07/16/338/%e4%be%86%e5%8f%83%e5%8a%a0-world-firefox-day-%e7%9a%84%e6%b4%bb%e5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Software Wars</title>
		<link>https://blog.richliu.com/2006/07/02/334/software-wars/</link>
					<comments>https://blog.richliu.com/2006/07/02/334/software-wars/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 02 Jul 2006 04:55:48 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/07/02/334/</guid>

					<description><![CDATA[<p>還記得以前 Software Wars 的圖嗎? 萬惡微軟對抗 Open Source 界的入侵, 這張圖最近 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/07/02/334/software-wars/">Software Wars</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>還記得以前 Software Wars 的圖嗎? 萬惡微軟對抗 Open Source 界的入侵, 這張圖最近更新了<br />
<span id="more-334"></span><br />
這是新版的<br />
<a href="http://mshiltonj.com/software_wars/current/current.png" target="_blank" rel="noopener"><img decoding="async" src="http://mshiltonj.com/software_wars/current/current.png" alt="" /></a></p>
<p>以下是舊版的回味<br />
<a href="http://www.atai.org/softwarewar.png" target="_blank" rel="noopener"><img decoding="async" src="http://www.atai.org/softwarewar.png" alt="" /></a></p>
<p>兩相對照可以發覺到這三年的進步,<br />
例如: 2003 年就沒有 Google 的出現. Ubuntu 也沒有出現, 對抗 IE 的只有 Mozilla,<br />
現在就多了 Google, 對抗 IE 的也多了 Firefox , Safari, Opera 等等.</p>
<p>以現在來說, 大多數的英文應用, 的確不一定要用 Microsoft 的東西,<br />
政府是不是可以在 OpenSource 的中文套件上做些努力.<br />
就像政府決定中信局採購案的電腦, 要可以支援 Windows 和 Linux<br />
而且硬體要通過 <a href="http://www.tca.org.tw" target="_blank" rel="noopener">TCA</a> 的 Linux 認證<br />
這件事情就上了外國的媒體<br />
<a href="http://www.zdnetasia.com/news/software/0,39044164,39370618,00.htm" target="_blank" rel="noopener">Taiwan mandates Linux-ready PCs </a><br />
小小的努力, 大大的成果, 花個幾億就可以貢獻大家, 讓全國的政府機關學校單位都能受益.<br />
這些應該不難吧 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>附記:<br />
追查一下可以發現, 早期的版本是台灣人做的 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/07/02/334/software-wars/">Software Wars</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/07/02/334/software-wars/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>邪惡的 Google 再次出招&#8230;. Google Browser Sync</title>
		<link>https://blog.richliu.com/2006/06/13/330/%e9%82%aa%e6%83%a1%e7%9a%84-google-%e5%86%8d%e6%ac%a1%e5%87%ba%e6%8/</link>
					<comments>https://blog.richliu.com/2006/06/13/330/%e9%82%aa%e6%83%a1%e7%9a%84-google-%e5%86%8d%e6%ac%a1%e5%87%ba%e6%8/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 13 Jun 2006 02:17:02 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/06/13/330/</guid>

					<description><![CDATA[<p>Google Browser Sync, 可以同步 Firefox 的 * Cookie * Saved Pa [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/06/13/330/%e9%82%aa%e6%83%a1%e7%9a%84-google-%e5%86%8d%e6%ac%a1%e5%87%ba%e6%8/">邪惡的 Google 再次出招&#8230;. Google Browser Sync</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.google.com/tools/firefox/index.html" target="_blank" rel="noopener">Google Browser Sync</a>, 可以同步 Firefox 的<br />
    * Cookie<br />
    * Saved Passwords<br />
    * Bookmarks<br />
    * History<br />
    * Tabs and Windows </p>
<p>如果你有多台電腦都執行 Firefox, 就可以同步這些資訊.<br />
以我個人為例, 裝有 Firefox 的計有<br />
1. IBM X31 (Linux/Windows)<br />
2. 公司配的 P4 3.0 (Linux/Windows)<br />
3. 家中的 P4 3.0 (Linux/Windows)<br />
如果這些 bookmark 要同步, 就是一件很累的事情. </p>
<p>經過數秒鐘的深思熟慮, 我還是臣服在 Google 的淫威之下, 使用了這一套軟體.<br />
用到現在, 大致上可以得知以下的優缺點<br />
優點:<br />
   就是可以 sync 所有 Browser 的 Data.<br />
缺點:<br />
   1. 開啟 FF 時較慢 &#8211;> 要去 Sync Data<br />
   2. 密碼及其他資訊要送給 Google 看&#8230;&#8230;</p>
<p>我個人認為應該還可以再做出以下幾個功能<br />
   1. Extension 同步的功能.<br />
   2. notepad 同步功能.<br />
   3. 行事曆同步功能<br />
這樣就很完美了 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><ins datetime="2006-06-13T02:37:34+00:00">update: 我 windows 的 FF 執行似乎會有問題, Linux 的部份都正常.<br />
Windows 的 FF 是 1.5.0.4 版</ins></p>
<p>ref. <a href="http://wiki.richliu.com/index.php/FireFox_%E5%B8%B8%E7%94%A8%E7%9A%84_Extension#Google_Browser_Sync" target="_blank" rel="noopener">FireFox 常用的 Extension</a></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/06/13/330/%e9%82%aa%e6%83%a1%e7%9a%84-google-%e5%86%8d%e6%ac%a1%e5%87%ba%e6%8/">邪惡的 Google 再次出招&#8230;. Google Browser Sync</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/06/13/330/%e9%82%aa%e6%83%a1%e7%9a%84-google-%e5%86%8d%e6%ac%a1%e5%87%ba%e6%8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Thunderbird RSS 的怪問題.</title>
		<link>https://blog.richliu.com/2006/03/18/319/thunderbird-rss-%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8c/</link>
					<comments>https://blog.richliu.com/2006/03/18/319/thunderbird-rss-%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8c/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 17 Mar 2006 19:27:36 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/03/18/319/</guid>

					<description><![CDATA[<p>我的 Thunderbird 1.5 在經過一段時間之後, 發現很多的 RSS 都不會抓回來了, 看了一下 T [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/03/18/319/thunderbird-rss-%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8c/">Thunderbird RSS 的怪問題.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>我的 <a href="http://www.mozilla.com/thunderbird/" target="_blank" rel="noopener">Thunderbird </a> 1.5 在經過一段時間之後, 發現很多的 RSS 都不會抓回來了, 看了一下 <a href="http://www.mozilla.com/thunderbird/" target="_blank" rel="noopener">Thunderbird </a> 的 fourm 之後, 發現是 <a href="http://www.mozilla.com/thunderbird/" target="_blank" rel="noopener">Thunderbird </a> 的 Bug.<br />
所以照著<a href="http://forums.mozillazine.org/viewtopic.php?p=2130201#2130201" target="_blank" rel="noopener">這一篇</a>的做法, 將 News &#038; RSS 目錄內的 feeds.rdf 和 feeditems.rdf 移掉就可以了&#8230;&#8230;.</p>
<p>人類與 Program Bugs 的戰爭是永無止境的.<br />
誰來告訴我一下, Matrix 要怎麼修 Bug &#8230;. 難道他的 Core 是 Bug Free 的嗎 ?</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/03/18/319/thunderbird-rss-%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8c/">Thunderbird RSS 的怪問題.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/03/18/319/thunderbird-rss-%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>wine beats windows in benchmark</title>
		<link>https://blog.richliu.com/2006/01/19/298/wine_beats_windows_in_benchmark/</link>
					<comments>https://blog.richliu.com/2006/01/19/298/wine_beats_windows_in_benchmark/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Thu, 19 Jan 2006 05:37:23 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2006/01/19/298/</guid>

					<description><![CDATA[<p>digg 看到的. Wine BenchMark-0.9.5 在 Wine(可在 Linux or 其他 PO [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/01/19/298/wine_beats_windows_in_benchmark/">wine beats windows in benchmark</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>digg 看到的.<br />
<a href="http://wiki.winehq.org/BenchMark-0.9.5" target="_blank" rel="noopener">Wine BenchMark-0.9.5</a><br />
在 <a href="http://winehq.org" target="_blank" rel="noopener">Wine</a>(可在 Linux or 其他 POSIX Unix下執行 Winodows 的軟體)執行各家 Benchmark 的比較.<br />
Wine 在許多數據都比 Windows 來得好, 主要還是 3D 的部份比較差.<br />
個人認為, 應該是 Unix 下沒有針對 3D Engine 最佳化的原因<br />
所以會比較差, 不過一般 Unix 的用戶 3D 需求也不大(大的都用 SGI 了)</p>
<p>以目前最新版的 Wine 來說(0.9.5), 己經能夠執行很多 Windows 的程式<br />
我自己本身跑過的有 UltraEdit(在 Unix UTF-8 的環境, 中文怪怪的 :-/)<br />
Source Insign(還算很正常)<br />
目前來說, 用我的 X31 跑這些 Software 其實很順暢. </p>
<p>用了一年多的 Linux Desktop. 老實說愈來愈順, 感謝這些人的付出呀</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2006/01/19/298/wine_beats_windows_in_benchmark/">wine beats windows in benchmark</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2006/01/19/298/wine_beats_windows_in_benchmark/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Gmail Manager</title>
		<link>https://blog.richliu.com/2005/12/15/287/gmail_manager/</link>
					<comments>https://blog.richliu.com/2005/12/15/287/gmail_manager/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 14 Dec 2005 17:14:12 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2005/12/15/287/</guid>

					<description><![CDATA[<p>今天在 Digg 看到 Gmail Manager 如果你有多個 Gmail 帳號, 這個東西就非常適合你用, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/12/15/287/gmail_manager/">Gmail Manager</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>今天在 Digg 看到 <a href="http://www.longfocus.com/firefox/gmanager/" target="_blank" rel="noopener">Gmail Manager</a><br />
如果你有多個 Gmail 帳號, 這個東西就非常適合你用, 不像是 Gmail Notify, 一次只能設定一個 Gmail Box.</p>
<p><img decoding="async" src="http://www.longfocus.com/firefox/gmanager/screenshots/toolbar-popup.png" alt="" /></p>
<p>看起來我要的功能都有, 目前設了三組 Gmail 帳號上去,還沒有發現大問題, 應該是 OK.</p>
<p>ref. <a href="http://wiki.richliu.com/index.php/FireFox_%E5%B8%B8%E7%94%A8%E7%9A%84_Extension" target="_blank" rel="noopener">FireFox 常用的 Extension</a></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/12/15/287/gmail_manager/">Gmail Manager</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2005/12/15/287/gmail_manager/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Linux 下的 Desktop Search.</title>
		<link>https://blog.richliu.com/2005/12/13/286/linux_e4b88be79a84_desktop_search/</link>
					<comments>https://blog.richliu.com/2005/12/13/286/linux_e4b88be79a84_desktop_search/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 13 Dec 2005 01:54:16 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2005/12/13/286/</guid>

					<description><![CDATA[<p>大家都知道在 Windows 下, 有一個好用的 Google Desktop Search. 但是在 Lin [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/12/13/286/linux_e4b88be79a84_desktop_search/">Linux 下的 Desktop Search.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>大家都知道在 Windows 下, 有一個好用的 Google Desktop Search.<br />
但是在 Linux 下呢? 有沒有好用的工具?<br />
答案當然是有的, 就是 <a href="http://www.beagle-project.org/" target="_blank" rel="noopener">beagle</a> 這一套工具.</p>
<p>基本上找 .pdf 沒有問題, 也支援 evolution 和 kmail (根據 <a href="http://www.beagle-project.org/FAQ" target="_blank" rel="noopener">Beagle FAQ</a> 的說法, beagle 目前不支援 Thunderbird).<br />
檔案和中文也都 OK (我的系統是用 UTF-8)<br />
這樣對目前我的要求應該是夠用.</p>
<p>Gentoo 目前也有相對應的 Portage. 基本上按照 <a href="http://www.beagle-project.org/Gentoo_Installation" target="_blank" rel="noopener">Beagle Gentoo Install</a>的 Step 就可以了<br />
要安裝 Beagle 需要注意的是,<br />
1. 會安裝 mono(C# in linux), 還有 mozilla (不是 firefox 哦)<br />
這些都是很肥的軟體.<br />
2. mozilla 的版本要在 1.8 之前, 我是使用 1.7<br />
Gentoo 的用戶請修改 /etc/portage/package.mask<br />
加上</p>
<blockquote><p>>www-client/mozilla-1.7.11</p></blockquote>
<p>如果是使用 1.8, 可能會找不到 header file.</p>
<p>使用 Beagle 找&#8221;中文&#8221;二字的結果<br />
<a href="http://www.flickr.com/photos/12047608@N00/73025991/" target="_blank" rel="noopener"><img decoding="async" src="http://static.flickr.com/20/73025991_ae52c93cbc_m.jpg" alt="沒圖沒真相" /></a></p>
<p>2005.12.13 13:27: update  真是個肥大的軟體, 要耗用 700M 的記憶體, 先 shutdown 掉了&#8230;&#8230;. 有用到再啟動</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/12/13/286/linux_e4b88be79a84_desktop_search/">Linux 下的 Desktop Search.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2005/12/13/286/linux_e4b88be79a84_desktop_search/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Firefox 1.5 出了.</title>
		<link>https://blog.richliu.com/2005/11/30/281/firefox_15_e587bae4ba86/</link>
					<comments>https://blog.richliu.com/2005/11/30/281/firefox_15_e587bae4ba86/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 30 Nov 2005 01:49:16 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2005/11/30/281/</guid>

					<description><![CDATA[<p>11/29 真是熱鬧, 除了 KDE 3.5 Released . Firefox 1.5 也出了. 照例,  [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/30/281/firefox_15_e587bae4ba86/">Firefox 1.5 出了.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>11/29 真是熱鬧, 除了 KDE 3.5 Released . <a href="http://www.mozilla.org" target="_blank" rel="noopener">Firefox 1.5</a> 也出了.</p>
<p>照例, 等 Firefox 1.5 進 Gentoo portage 系統以後, 再來換吧. </p>
<p>2005/11/30 19:28 Update:<br />
           Gentoo Portage Firefox 1.5 進 Portage 了&#8230;. 正在換 XD<br />
2005/12/01 00:06 Update:<br />
           第一次 emerge 時, 升級後怪怪的, 重新再 emerge 一次就正常了.<br />
           除了很多套件暫時不支援 FF 以外<br />
           目前這一版最大的好處就是<br />
           1. 啟動速度變快了<br />
           2. 網頁顯示也變快了&#8230;&#8230;<br />
           真令人舒服的一套 Browser 呀&#8230;&#8230;<br />
2005/12/01 00:33 Update:<br />
           Mozilla 網站上還在放 RC3 呀&#8230;..<br />
           <a href="http://www.flickr.com/photos/12047608@N00/68690695/" target="_blank" rel="noopener"><img decoding="async" src="http://static.flickr.com/6/68690695_76b20016d5_m.jpg" alt="" /></a></p>
<p>2005/12/01 00:44 Update:<br />
           這是怎麼樣, 網站被塞爆了嗎? 我要上個 COPYURL 的 PATCH, 連 source code 都抓不下來&#8230;&#8230;&#8230;.<br />
           之前寫了一篇<a href="http://blog.richliu.com/2005/04/22/164/">寫 Blog 時，貼圖片的好幫手</a>, 這邊有改了 COPYURL 的做法. 不知道作者上了 patch 了沒有.<br />
           不過我寫好的功能卻不能用了.<br />
           正準備來修一下的哩&#8230;&#8230;</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/30/281/firefox_15_e587bae4ba86/">Firefox 1.5 出了.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2005/11/30/281/firefox_15_e587bae4ba86/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>KDE 3.5 出了.</title>
		<link>https://blog.richliu.com/2005/11/30/280/kde_35_e587bae4ba86/</link>
					<comments>https://blog.richliu.com/2005/11/30/280/kde_35_e587bae4ba86/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Wed, 30 Nov 2005 01:47:10 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2005/11/30/280/</guid>

					<description><![CDATA[<p>今天 KDE 3.5 正式 Release 了. Gentoo 也更新 Portage 了(雖然還在 MASK [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/30/280/kde_35_e587bae4ba86/">KDE 3.5 出了.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>今天 <a href="http://www.kde.org" target="_blank" rel="noopener">KDE 3.5</a> 正式 Release 了.<br />
Gentoo 也更新 Portage 了(雖然還在 MASK , 不過我想很快就會 Release 了)</p>
<p>主要的更新在這一篇, <a href="http://www.kde.org/announcements/visualguide-3.5.php" target="_blank" rel="noopener">KDE 3.5: A Visual Guide to New Features</a></p>
<p>節錄我有興趣的部份:<br />
SuperKaramba 現在己經是 KDE 的一部份了(也就是說, 耗用資源愈來愈多)<br />
kopete 將 video/audio 的 Protocol 包進去了, 也就是說可以用 webcam .<br />
新增了自動撥放的功能, 就是 OOXX Device 塞進電腦, 就會跳一個視窗問你, 要做什麼.<br />
Konqueror/kicker 都有改進, 大家就自己看囉.</p>
<p>2005/11/30 19:27 Update:<br />
Gentoo Portage MASK 打開了&#8230;.</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/30/280/kde_35_e587bae4ba86/">KDE 3.5 出了.</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2005/11/30/280/kde_35_e587bae4ba86/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux 是不是應該有 Binary Driver Layer ?</title>
		<link>https://blog.richliu.com/2005/11/11/267/linux_e698afe4b88de698afe68789e8a9b2e69c89_binary_driver_layer_3f/</link>
					<comments>https://blog.richliu.com/2005/11/11/267/linux_e698afe4b88de698afe68789e8a9b2e69c89_binary_driver_layer_3f/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Thu, 10 Nov 2005 19:18:32 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/?p=267</guid>

					<description><![CDATA[<p>最近在吵的是, The Japan OSS Promotion Forum 提出了 GKAI(General  [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/11/267/linux_e698afe4b88de698afe68789e8a9b2e69c89_binary_driver_layer_3f/">Linux 是不是應該有 Binary Driver Layer ?</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>最近在吵的是,  <a href="http://www.ipa.go.jp/software/open/forum/" target="_blank" rel="noopener">The Japan OSS Promotion Forum</a> 提出了 GKAI(General Kernel API Interface).<br />
而跟著這個 GKAI 提出來的, 就是 Go Taniguchi, Turbolinux, Inc. Kenichi Hori, NEC Corporation. 提的 New Device Driver Structure. 這個 Structure 最大的改變就是在 Linux 上加上 Binary Driver Layer . 以便可以像是 Windows 一樣, 載入 Binary Driver ..<br />
<span id="more-267"></span><br />
想當然爾, 搞 Linux kernel 的人一定不爽了, <a href="http://www.kroah.com/linux/" target="_blank" rel="noopener">Greg Kroah</a>就跳出來寫了一篇 <a href="http://www.kroah.com/log/2005/11/03/ " target="_blank" rel="noopener">OSDL and a binary kernel driver layer</a> .</p>
<p>先來弄清楚兩方的訴求<br />
GKAI</p>
<li>在 Kernel Core 和 Device Driver 中間再加上一層 API, 而這個 API 是固定的</li>
<li>不需要更換 Kernel 就能使用最新的 Hardware Driver</li>
<li>每一個 Linux Distributions 都可以用同一個 Driver</li>
<li>Hardware Vendor 不需要開放原始碼</li>
<li>減少 Programmer 的 Maintain 時程</li>
<p>Kernel developer 的意見(至少是<a href="http://www.kroah.com/linux/" target="_blank" rel="noopener">Greg Kroah</a> 的)</p>
<li>Binary Driver: different kernel 配上不同的 GCC 有不同的 structure, alignment 不同, 甚至支援的 architecture 也不一樣.
</li>
<li>Stable Kernel Source Interface</li>
<li>有時 Kernel Develop 會修改架構以期會有更好的效率, 而 GKAI 不可能做到.</li>
<li>Security Issue. GKAI 要是碰上了 Security 要大修還不是一樣?</li>
<li>Kernel Interface clean , 以便保持效率和精簡.</li>
<li>Kernel API 本來就是會出問題, 會有 Bug. 甚至要改名, 要修.. blah blah.</li>
<li>GKAI是 Close Source , 而且這一點也不有趣.</li>
<li> Binary Code 沒有人要幫你修, 抓 Bug, Tuning . 有問題也改不動</li>
<p>如果站在 Linux Kernel Developer 的角度去看這件事情, 的確一點也不好玩. 而且是 Close Source. 更不要講這是違反 GPL 的. </p>
<p>不過站在一個正在產業界辛苦修改 Linux Kernel 的小咖的角度, 我是傾向支持 GKAI 的出現的. 別的不說, 光是最近在處理的 IT821x 的 Device Driver 就有 n 個版本. IDE API 幾乎 2.4.18 以後, 版版都有修, 就算是 Linux kernel 2.6.x , 每一版的 IT821x 的 Driver 長得都不一樣. 讓人想回 Porting 也很難. </p>
<p>之前也發生過, 某家的 SCSI Driver . Kernel 一升級, 因為 API 大變, 所以這個 Driver 就 isolated 了. 甚至連動都不能動.</p>
<p>另外就是商業保護, 其實 OpenSource 也不是很難, 站在我們的角度, 95% 的 Source Code 一定會 Release 出去, 但是一定會有 5% 的 Code 會收起來, 畢竟在商言商, 這個世界是很殘酷的. Source Code Released. 別人就知道怎麼做. 馬上就組個 Team . 幹掉你了. </p>
<p>小弟我曾經寫過 ITE 887x 的 Serial/Parallel Driver . 當時 Parallel 的 Maintainer 就欣然接受了我的 patch , 讓我以後就不用辛苦的多出幾版 patch .<br />
不過 Serial 的 maintainer 完完全全不理我. 每隔一段時間, 又多一份 patch .<br />
出一份 Patch 代表要重測一次, 這一點也不好玩. </p>
<p>有人講的也有道理, 如果 Linux 接受了 Binary Device Driver . 大家都將 Source 留一手起來, 說不定 Linux Device Driver 不會進步這麼快, 尤其是沒有像是 MSDN 這麼豐富的線上資料庫的時候. Tracing Source Code 就成為許許多多 Linux Device Driver Programmer 最快入手的方法. </p>
<p>結果是一定不會用 GKAI 的, 不過我還是希望有 GKAI 的出現, 畢竟末端 Linux Device Driver Enginner 的血淚, 不是 Kernel Developer 的大大們可以體會的呀 :~~~~</p>
<p>Ref.<br />
<a href="http://www.kroah.com/log/linux/stable_api_nonsense.html" target="_blank" rel="noopener">The Linux Kernel Driver Interface</a><br />
<a href="http://www.kroah.com/log/2005/11/03/ " target="_blank" rel="noopener">OSDL and a binary kernel driver layer</a><br />
<a href="http://linux.slashdot.org/article.pl?sid=05/11/08/1915218" target="_blank" rel="noopener">Slashdot  Should Linux Have a Binary Kernel Driver Layer?</a><br />
<a href="http://lists.osdl.org/pipermail/os_drivers/2005-July/000052.html" target="_blank" rel="noopener">[os_drivers] Yet Another Generic Kernel API</a><br />
<a href="http://www.kroah.com/log/images/gkai-2.odp" target="_blank" rel="noopener">A Proposal of New Device Driver Structure</a>(OpenOffice 2.0 Presentation Format)<br />
<a href="http://www.kroah.com/log/images/gkai.sxi" target="_blank" rel="noopener">Generic Kernel API Interface (GKAI)</a>(OpenOffice.org 1.0 Presentation Format)<br />
<a href="http://blog.linux.org.tw/~jserv/archives/001354.html" target="_blank" rel="noopener">Jserv&#8217;s Linux 的 Binary-form Driver</a></p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2005/11/11/267/linux_e698afe4b88de698afe68789e8a9b2e69c89_binary_driver_layer_3f/">Linux 是不是應該有 Binary Driver Layer ?</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2005/11/11/267/linux_e698afe4b88de698afe68789e8a9b2e69c89_binary_driver_layer_3f/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
