<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.11" -->
<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/"
	>

<channel>
	<title>Real-Blog</title>
	<link>http://www.real-blog.com</link>
	<description>關於 PHP, Linux, Open Source 及個人生活記載的網誌。</description>
	<pubDate>Tue, 06 May 2008 07:11:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>
	<language>en</language>
			<item>
		<title>wget 下載密碼保護檔案</title>
		<link>http://www.real-blog.com/linux-bsd-notes/506</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/506#comments</comments>
		<pubDate>Tue, 06 May 2008 07:11:06 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/506</guid>
		<description><![CDATA[wget 是很好用的 command line 下載工具，如果遇到需要密碼才可以下載的檔案，wget 的選項 &#8211;user=username 及 &#8211;password=password 便可解決，這兩個選項支援 HTTP 及 FTP 連線，用法也很簡單：

$ wget &#8211;user=username &#8211;password=&#8217;password&#8217; http://address/download/foo.pdf

]]></description>
			<content:encoded><![CDATA[<p>wget 是很好用的 command line 下載工具，如果遇到需要密碼才可以下載的檔案，wget 的選項 &#8211;user=username 及 &#8211;password=password 便可解決，這兩個選項支援 HTTP 及 FTP 連線，用法也很簡單：</p>
<div class="shell">
$ wget &#8211;user=username &#8211;password=&#8217;password&#8217; http://address/download/foo.pdf
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/506/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FreeBSD 安裝 MRTG 流量分析</title>
		<link>http://www.real-blog.com/linux-bsd-notes/505</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/505#comments</comments>
		<pubDate>Sun, 04 May 2008 08:05:46 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/505</guid>
		<description><![CDATA[MRTG 是一套網路流量分析工具，可以經由網頁介面監看主機的網路流量。MRTG 是透過 SNMP (Simple Network Management Protocol) 收集資料，所以要使用 MRTG 記錄流量數據的主機要先安裝 SNMP，以下是在 FreeBSD 安裝 SNMP 及 MRTG 的方法：
安裝 SNMP
首先安裝 SNMP，在 FreeBSD 透過 ports 安裝很方便，在指令模式輸入以下指令：


# cd /usr/ports/net-mgmt/net-snmp
# make install clean

安裝完成後便要設定 SNMP，新增一個文字檔 /usr/local/share/snmp/snmpd.conf，加入以下內容：

rocommunity    mrtg

以上設定的是 community name，是一個明碼字串，可視作為一個密碼。完成後在 /etc/rc.conf 加入以下一行：

snmpd_enable=&#8221;YES&#8221;


/usr/local/etc/rc.d/snmpd.sh start

然後使用以上指令手動啟動 SNMP。
安裝 MRTG
安裝 MRTG 同樣使用 ports 來安裝：

# cd /usr/ports/net-mgmt/mrtg
# make install
// 安裝後產生 MTRG 設定檔
# cd /usr/local/etc/mrtg
# [...]]]></description>
			<content:encoded><![CDATA[<p>MRTG 是一套網路流量分析工具，可以經由網頁介面監看主機的網路流量。MRTG 是透過 SNMP (Simple Network Management Protocol) 收集資料，所以要使用 MRTG 記錄流量數據的主機要先安裝 SNMP，以下是在 FreeBSD 安裝 SNMP 及 MRTG 的方法：</p>
<p><strong>安裝 SNMP</strong><br />
首先安裝 SNMP，在 FreeBSD 透過 ports 安裝很方便，在指令模式輸入以下指令：<br />
<a id="more-505"></a></p>
<div class="shell">
# cd /usr/ports/net-mgmt/net-snmp<br />
# make install clean
</div>
<p>安裝完成後便要設定 SNMP，新增一個文字檔 /usr/local/share/snmp/snmpd.conf，加入以下內容：</p>
<div class="shell">
rocommunity    mrtg
</div>
<p>以上設定的是 community name，是一個明碼字串，可視作為一個密碼。完成後在 /etc/rc.conf 加入以下一行：</p>
<div class="shell">
snmpd_enable=&#8221;YES&#8221;
</div>
<div class="shell">
/usr/local/etc/rc.d/snmpd.sh start
</div>
<p>然後使用以上指令手動啟動 SNMP。</p>
<p><strong>安裝 MRTG</strong><br />
安裝 MRTG 同樣使用 ports 來安裝：</p>
<div class="shell">
# cd /usr/ports/net-mgmt/mrtg<br />
# make install</p>
<p>// 安裝後產生 MTRG 設定檔<br />
# cd /usr/local/etc/mrtg<br />
# rehash<br />
# cfgmaker mrtg@hostname >mrtg.cfg
</div>
<p>上面 cfgmaker mrtg@hostname >mrtg.cfg 的一行，mrtg 是在 snmp 設定的 community name，而 hostname 是主機的位置。</p>
<p>然後開啟 /usr/local/etc/mrtg/mrtg.cfg，設定裡面的 WorkDIR 選項，改為想要儲存 mrtg 網頁的位置，例如 /home/httpd/mrtg。接著便建立 MRTG 的目錄及網頁：</p>
<div class="shell">
# mkdir /home/httpd/mrtg<br />
# indexmaker -title &#8216;Traffic Monitoring&#8217; -output /home/httpd/mrtg/index.html mrtg.cfg<br />
# cd /usr/ports/net-mgmt/mrtg/work/mrtg*<br />
# cd images<br />
# cp * /home/httpd/mrtg/</p>
<p>// 以上已經完成設定了，最後執行 MRTG：<br />
# /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
</div>
<p>執行以上指令後會出現錯誤訊息，這是因為第一次執行 mrtg 的關係，沒有一些舊圖，只要再執行一次就行了。最後一步就是輸入 crontab -e 設定每 5 分鐘自動執行 mrtg：</p>
<div class="shell">
*/5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
</div>
<p>設定完成後，便可以用瀏覽器開啟 /home/httpd/mrtg 的相對網址查看。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/505/feed/</wfw:commentRss>
		</item>
		<item>
		<title>截至四月的投資回報</title>
		<link>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/504</link>
		<comments>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/504#comments</comments>
		<pubDate>Fri, 02 May 2008 15:16:08 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>精明消費 / 理財</category>

		<guid isPermaLink="false">http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/504</guid>
		<description><![CDATA[今年頭三個月股市大幅下跌，自己的投資組合最多下跌近 30%。雖然經過四月的升市後，已大為收復失地，但以四月結算計，如果不計及年初的趁低吸納，仍比年頭下跌了 4.34%。
目前我的三大持股為中移動、平保及中人壽，三間公司的 08 年首季業績已經公怖，只有中人壽盈利倒退 60%，其餘的也有增長。但仍然對中人壽充滿信心，因為 A 股即使仍未跌夠，但距離底部的下跌空間應該不大，近來也有回穩的跡象。而且細看中人壽的首季業績，她們還有二百多億的浮盈未釋放，一於安心做個小股東。
而近期開始學習巴菲特，以公司老闆的心態去看待持有的股票，發覺原來用這個心態去持股輕鬆很多。

]]></description>
			<content:encoded><![CDATA[<p>今年頭三個月股市大幅下跌，自己的投資組合最多下跌近 30%。雖然經過四月的升市後，已大為收復失地，但以四月結算計，如果不計及年初的趁低吸納，仍比年頭下跌了 4.34%。</p>
<p>目前我的三大持股為中移動、平保及中人壽，三間公司的 08 年首季業績已經公怖，只有中人壽盈利倒退 60%，其餘的也有增長。但仍然對中人壽充滿信心，因為 A 股即使仍未跌夠，但距離底部的下跌空間應該不大，近來也有回穩的跡象。而且細看中人壽的首季業績，她們還有二百多億的浮盈未釋放，一於安心做個小股東。</p>
<p>而近期開始學習巴菲特，以公司老闆的心態去看待持有的股票，發覺原來用這個心態去持股輕鬆很多。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/504/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apache 限制上傳檔案體積</title>
		<link>http://www.real-blog.com/linux-bsd-notes/503</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/503#comments</comments>
		<pubDate>Sat, 26 Apr 2008 13:39:16 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/503</guid>
		<description><![CDATA[在 Apache 裡面有一個選項是 LimitRequestBody，這個選項可以限制用戶送出的 HTTP 請求內容。這個選項可以在 .htaccess 或 httpd.conf 裡使用，而如果在 httpd.conf 內使用，分別可以用在 virtualhost 或目錄屬性設定。而  LimitRequestBody 的設定值是介乎 0 (無限制) 至 2147483647 (2GB)。
例如要在目錄 /home/httpd/html/www.mydomain.com/uploads 設定上傳限制為 100K，可以在 .htaccess 或 httpd.conf 加入以下語句：
&#60;Directory &#34;/home/httpd/html/www.mydomain.com/uploads&#34;&#62;
 &#160;&#160; LimitRequestBody 102400
&#60;/Directory&#62;
如果透過 .htaccess 設定，儲存檔案後會立即生效；如透過 httpd.conf 設定，須要重新啟動 Apache。

]]></description>
			<content:encoded><![CDATA[<p>在 Apache 裡面有一個選項是 LimitRequestBody，這個選項可以限制用戶送出的 HTTP 請求內容。這個選項可以在 .htaccess 或 httpd.conf 裡使用，而如果在 httpd.conf 內使用，分別可以用在 virtualhost 或目錄屬性設定。而  LimitRequestBody 的設定值是介乎 0 (無限制) 至 2147483647 (2GB)。</p>
<p>例如要在目錄 /home/httpd/html/www.mydomain.com/uploads 設定上傳限制為 100K，可以在 .htaccess 或 httpd.conf 加入以下語句：</p>
<p>&lt;Directory &quot;/home/httpd/html/www.mydomain.com/uploads&quot;&gt;<br />
 &nbsp;&nbsp; LimitRequestBody 102400<br />
&lt;/Directory&gt;</p>
<p>如果透過 .htaccess 設定，儲存檔案後會立即生效；如透過 httpd.conf 設定，須要重新啟動 Apache。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/503/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux 下破解 zip 密碼</title>
		<link>http://www.real-blog.com/linux-bsd-notes/502</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/502#comments</comments>
		<pubDate>Sun, 20 Apr 2008 04:54:28 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/502</guid>
		<description><![CDATA[fcrackzip 是一個在 Linux 下破解 zip 檔案密碼的工具，而且因為用組合語言寫成，執行速度十分快。fcrackzip 支援暴力法 (try and error) 破解，以及使用字典檔。在 Ubuntu 下安裝 fcrackzip 只須透過 apt-get 便可以：
sudo apt-get install fcrackzip
至於其他作業系統，fcrackzip 提供了源代碼、Linux binary 及 Windows binary。
fcrackzip Syntax

fcrackzip [-bDBchVvplum2] [&#8211;brute-force] [&#8211;dictionary] [&#8211;benchmark] [&#8211;charset characterset] [&#8211;help] [&#8211;validate] [&#8211;verbose] [&#8211;init-password string/path] [&#8211;length min-max] [&#8211;use-unzip] [&#8211;method name] [&#8211;modulo r/m] file.
fcrackzip OPTIONS
-b, &#8211;brute-force
選擇暴力法破解，使用指領的規則。
-D, &#8211;dictionary
選擇字典檔，fcrackzip 會讀取指定檔案的字串，然後逐一嘗試。密碼的格式為一行一個密碼。 
-c, &#8211;charset characterset-specification
與 -b 配合使用，規則為：
&#160;&#160;&#160; a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.goof.com/pcg/marc/fcrackzip.html" title="fcrackzip" target="_blank">fcrackzip</a> 是一個在 Linux 下破解 zip 檔案密碼的工具，而且因為用組合語言寫成，執行速度十分快。<a href="http://www.goof.com/pcg/marc/fcrackzip.html" title="fcrackzip" target="_blank">fcrackzip</a> 支援暴力法 (try and error) 破解，以及使用字典檔。在 Ubuntu 下安裝 <a href="http://www.goof.com/pcg/marc/fcrackzip.html" title="fcrackzip" target="_blank">fcrackzip</a> 只須透過 apt-get 便可以：</p>
<p>sudo apt-get install fcrackzip</p>
<p>至於其他作業系統，<a href="http://www.goof.com/pcg/marc/fcrackzip.html" title="fcrackzip" target="_blank">fcrackzip</a> 提供了源代碼、Linux binary 及 Windows binary。</p>
<p><strong>fcrackzip Syntax</strong><br />
<a id="more-502"></a></p>
<p>fcrackzip [-bDBchVvplum2] [&#8211;brute-force] [&#8211;dictionary] [&#8211;benchmark] [&#8211;charset characterset] [&#8211;help] [&#8211;validate] [&#8211;verbose] [&#8211;init-password string/path] [&#8211;length min-max] [&#8211;use-unzip] [&#8211;method name] [&#8211;modulo r/m] file.</p>
<p><strong>fcrackzip OPTIONS</strong></p>
<p>-b, &#8211;brute-force<br />
選擇暴力法破解，使用指領的規則。</p>
<p>-D, &#8211;dictionary<br />
選擇字典檔，fcrackzip 會讀取指定檔案的字串，然後逐一嘗試。密碼的格式為一行一個密碼。 </p>
<p>-c, &#8211;charset characterset-specification<br />
與 -b 配合使用，規則為：<br />
&nbsp;&nbsp;&nbsp; a &#8212; 指所有小寫字母 [a-z]<br />
&nbsp;&nbsp;&nbsp; A &#8212; 指所有大寫字母[A-Z]<br />
&nbsp;&nbsp;&nbsp; 1 &#8212; 由 0 至 9 的數目字  [0-9]<br />
&nbsp;&nbsp;&nbsp; ! &#8212;  包括 [!:$%&#038;/()=?{[]}+*~#]<br />
&nbsp;&nbsp;&nbsp; : &#8212;  跟在後面的是任意符號</p>
<p>-p, &#8211;init-password string<br />
配合 -b 使用時，設定從那一個字串開始破解。如果與 -D 配合使用，是指字典檔路徑。</p>
<p>-l, &#8211;length min[-max]<br />
設定初始密碼最短及最長字串長度。</p>
<p>-u, &#8211;use-unzip<br />
先嘗試使用 unzip 解壓。</p>
<p>-m, &#8211;method name<br />
改變預設破解模式。</p>
<p><strong>fcrackzip 例子</strong></p>
<p>fcrackzip -c a -p aaaaaa sample.zip</p>
<p>以下例子會破解 sample.zip 檔案，並設定密碼在 6 個位的小寫字母。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/502/feed/</wfw:commentRss>
		</item>
		<item>
		<title>實用 crontab 寫法</title>
		<link>http://www.real-blog.com/linux-bsd-notes/501</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/501#comments</comments>
		<pubDate>Sat, 19 Apr 2008 17:21:47 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/501</guid>
		<description><![CDATA[本站另一篇文章 Unix Crontab 簡介 介紹了 Crontab 的用法，今天發現了一個實用的寫法：
@daily /usr/local/www/awstats/cgi-bin/awstats.sh
以上用 @daily 語法，便會在每天零時零分執行，以下是其他用法：
@reboot: 在每次開機時執行。
@yearly: 等同 0 0 1 1 * 寫法，即每年一月一日零時零分。
@annually: 與 @yearly 相同。
@monthly: 在每月一號零時零分執行。
@weekly: 在星期天零時零分執行。        Run once a week, &#8220;0 0 * * 0&#8243;.
@daily: 每天零時零分。
@midnight: 與 @daily 相同。
@hourly: 每小時零分執行。

]]></description>
			<content:encoded><![CDATA[<p>本站另一篇文章 <a href="/linux-bsd-notes/127" title="Unix Crontab 簡介">Unix Crontab 簡介</a> 介紹了 Crontab 的用法，今天發現了一個實用的寫法：</p>
<p>@daily /usr/local/www/awstats/cgi-bin/awstats.sh</p>
<p>以上用 @daily 語法，便會在每天零時零分執行，以下是其他用法：</p>
<p>@reboot: 在每次開機時執行。<br />
@yearly: 等同 0 0 1 1 * 寫法，即每年一月一日零時零分。<br />
@annually: 與 @yearly 相同。<br />
@monthly: 在每月一號零時零分執行。<br />
@weekly: 在星期天零時零分執行。        Run once a week, &#8220;0 0 * * 0&#8243;.<br />
@daily: 每天零時零分。<br />
@midnight: 與 @daily 相同。<br />
@hourly: 每小時零分執行。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/501/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux 產生隨機密碼</title>
		<link>http://www.real-blog.com/linux-bsd-notes/500</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/500#comments</comments>
		<pubDate>Sat, 19 Apr 2008 17:06:23 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/500</guid>
		<description><![CDATA[以下指令可以在 command line 產生隨機密碼

&ltg; /dev/urandom tr -dc _A-Z-a-z-0-9 &#124; head -c6

以上指令會產生 6 個位的密碼，如果想改變密碼長度，可以修改最後的 -c6，例如要 8 個位的密碼，便改為 -c8

]]></description>
			<content:encoded><![CDATA[<p>以下指令可以在 command line 產生隨機密碼</p>
<div class="shell">
&ltg; /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c6
</div>
<p>以上指令會產生 6 個位的密碼，如果想改變密碼長度，可以修改最後的 -c6，例如要 8 個位的密碼，便改為 -c8
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/500/feed/</wfw:commentRss>
		</item>
		<item>
		<title>免費及開源軟體列表</title>
		<link>http://www.real-blog.com/software/499</link>
		<comments>http://www.real-blog.com/software/499#comments</comments>
		<pubDate>Tue, 15 Apr 2008 02:57:08 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>實用軟件推薦</category>

		<guid isPermaLink="false">http://www.real-blog.com/software/499</guid>
		<description><![CDATA[Open Source Guide 是一個免費及開源軟體的目錄列表，站內的軟體以不同分類區別，例如 Audio, Database, Desktop, Graphics, Internet, Network, Programming 等。而列出每套軟體的授權方式和支援的作業系統，對於要找一些付費軟體代替品十分方便。
站內的軟體由用戶提交，所以如果有什麼好用的免費/開源軟體，又沒有包括在內站，也可以提交上去分享一下。
Open Source Guide

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.osguide.net/" title="Open Source Guide" target="_blank">Open Source Guide</a> 是一個免費及開源軟體的目錄列表，站內的軟體以不同分類區別，例如 Audio, Database, Desktop, Graphics, Internet, Network, Programming 等。而列出每套軟體的授權方式和支援的作業系統，對於要找一些付費軟體代替品十分方便。</p>
<p>站內的軟體由用戶提交，所以如果有什麼好用的免費/開源軟體，又沒有包括在內站，也可以提交上去分享一下。</p>
<p><a href="http://www.osguide.net/" title="Open Source Guide" target="_blank">Open Source Guide</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/software/499/feed/</wfw:commentRss>
		</item>
		<item>
		<title>用瀏覽器檢視 .docx 檔案</title>
		<link>http://www.real-blog.com/windows-notes/498</link>
		<comments>http://www.real-blog.com/windows-notes/498#comments</comments>
		<pubDate>Tue, 15 Apr 2008 02:44:13 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Windows 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/windows-notes/498</guid>
		<description><![CDATA[Word 2007 所儲存的副檔名為 .docx，而這種檔案不可以用 Word 2003 或以下版本的 Word 開啟。如果只是想檢視 .docx 的內容，又不想安裝其他程式或在網上轉換，可以用透過以下方法。
首先將 .docx 檔案的副檔名改為 .zip，例如 filename.docx 改為 filename.zip，然後用壓縮軟件解壓。解壓後會產生一個 &#34;word&#038;&#34; 資料夾，在資料夾內有一個檔案名為 document.xml，用瀏覽器開啟這個 document.xml 檔案，便可以檢視 .docx 檔案內的文字。

]]></description>
			<content:encoded><![CDATA[<p>Word 2007 所儲存的副檔名為 .docx，而這種檔案不可以用 Word 2003 或以下版本的 Word 開啟。如果只是想檢視 .docx 的內容，又不想安裝其他程式或在網上轉換，可以用透過以下方法。</p>
<p>首先將 .docx 檔案的副檔名改為 .zip，例如 filename.docx 改為 filename.zip，然後用壓縮軟件解壓。解壓後會產生一個 &quot;word&&quot; 資料夾，在資料夾內有一個檔案名為 document.xml，用瀏覽器開啟這個 document.xml 檔案，便可以檢視 .docx 檔案內的文字。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/windows-notes/498/feed/</wfw:commentRss>
		</item>
		<item>
		<title>不錯的 SSH Client &#8212; Xshell</title>
		<link>http://www.real-blog.com/software/497</link>
		<comments>http://www.real-blog.com/software/497#comments</comments>
		<pubDate>Thu, 10 Apr 2008 01:27:42 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>實用軟件推薦</category>

		<guid isPermaLink="false">http://www.real-blog.com/software/497</guid>
		<description><![CDATA[Xshell 是一個 Windows 平台下的終端機模擬器，支援 SSH1, SSH2, SFTP, TELNET, RLOGIN, SERIAL。不用 Putty 的理由是因為 Xshell 可以同時開啟多 session，在管理數台伺服器上方便很多。Xshell 是付費軟件，但如果個人使用則免費。
Xshell 官方網站

]]></description>
			<content:encoded><![CDATA[<p>Xshell 是一個 Windows 平台下的終端機模擬器，支援 SSH1, SSH2, SFTP, TELNET, RLOGIN, SERIAL。不用 Putty 的理由是因為 Xshell 可以同時開啟多 session，在管理數台伺服器上方便很多。Xshell 是付費軟件，但如果個人使用則免費。</p>
<p><a href="http://www.netsarang.com/products/xsh_detail.html" title="Xshell" target="_blank">Xshell 官方網站</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/software/497/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fedora 9 beta released</title>
		<link>http://www.real-blog.com/linux-bsd-notes/496</link>
		<comments>http://www.real-blog.com/linux-bsd-notes/496#comments</comments>
		<pubDate>Fri, 28 Mar 2008 08:58:48 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>Linux / BSD 筆記</category>

		<guid isPermaLink="false">http://www.real-blog.com/linux-bsd-notes/496</guid>
		<description><![CDATA[

Fedora 9 beta 已經開放下載，正式版預計會在 4 月 29 日推出。主要更新包括使用最新版 KDE 及 GNOME 桌面環境，介面真的很漂亮：
&#8211; 使用 2.6.25-rc5 Linux kernel。
&#8211; GNOME 2.22 內建世界時鐘、改善檔案系統效能、及增強保強。
&#8211; 使用全新介面設計的 KDE 4.0.2，整合了桌面搜索功能。
&#8211; 預設使用 Firefox 3 Beta 瀏覽器。
&#8211; 安裝時支援 resizing ext2, ext3 及 NTFS 檔案系統。
Download Fedora 9 beta

]]></description>
			<content:encoded><![CDATA[<div align="center"><img src="http://www.blogsmithmedia.com/www.downloadsquad.com/media/2008/03/fedora-9-beta.jpg" alt="Fedora 9 beta" border="0" align="center"></div>
<p></p>
<p>Fedora 9 beta 已經開放下載，正式版預計會在 4 月 29 日推出。主要更新包括使用最新版 KDE 及 GNOME 桌面環境，介面真的很漂亮：</p>
<p>&#8211; 使用 2.6.25-rc5 Linux kernel。<br />
&#8211; GNOME 2.22 內建世界時鐘、改善檔案系統效能、及增強保強。<br />
&#8211; 使用全新介面設計的 KDE 4.0.2，整合了桌面搜索功能。<br />
&#8211; 預設使用 Firefox 3 Beta 瀏覽器。<br />
&#8211; 安裝時支援 resizing ext2, ext3 及 NTFS 檔案系統。</p>
<p><a href="http://fedoraproject.org/get-prerelease" title="Download Fedora 9 beta" target="_blank">Download Fedora 9 beta</a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/linux-bsd-notes/496/feed/</wfw:commentRss>
		</item>
		<item>
		<title>中移動, 中人壽及平保業績</title>
		<link>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/495</link>
		<comments>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/495#comments</comments>
		<pubDate>Wed, 26 Mar 2008 10:47:15 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>精明消費 / 理財</category>

		<guid isPermaLink="false">http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/495</guid>
		<description><![CDATA[中移動, 中人壽及平保相繼在上星期及本星期公佈了 2007 年度全年業績，幾間公司的業績都很滿意，我作為小股東可以放心繼續持有上述三間公司的股票。
我的投資組合只有建設銀行還未公佈業績，而參考其他中資銀行股的業績，建行的業績應該也不錯。今年與往年不同，因為在上年開始了月供股票計劃，可以將所收到的股息全數用月供股票再投資。股息方面也是一個驚喜，因為中移動及中人壽多了很多，尤其中人壽，比上年的每股 0.14 人民幣增加兩倍，至每股 0.42 人民幣。

]]></description>
			<content:encoded><![CDATA[<p>中移動, 中人壽及平保相繼在上星期及本星期公佈了 2007 年度全年業績，幾間公司的業績都很滿意，我作為小股東可以放心繼續持有上述三間公司的股票。</p>
<p>我的投資組合只有建設銀行還未公佈業績，而參考其他中資銀行股的業績，建行的業績應該也不錯。今年與往年不同，因為在上年開始了月供股票計劃，可以將所收到的股息全數用月供股票再投資。股息方面也是一個驚喜，因為中移動及中人壽多了很多，尤其中人壽，比上年的每股 0.14 人民幣增加兩倍，至每股 0.42 人民幣。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/495/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Index.dat Suite</title>
		<link>http://www.real-blog.com/software/494</link>
		<comments>http://www.real-blog.com/software/494#comments</comments>
		<pubDate>Wed, 19 Mar 2008 11:33:23 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>實用軟件推薦</category>

		<guid isPermaLink="false">http://www.real-blog.com/software/494</guid>
		<description><![CDATA[在 IE 即使刪除了 Internet 暫存當、cookies 及 history 後，系統還是會留下 index.dat 檔案，這個檔案紀錄了各種瀏覽紀錄。雖然 index.dat 不可以用文字編輯器開啟，但只要使用專門開啟 index.dat 工具便可以查看內裡的資料，而 Index.dat Suite 便是功能豐富及免費的檢查 index.dat 的工具。
Index.dat Suite 主要功能包括：
&#8211; 檢查, 刪除及備份 index.dat 檔案。
&#8211; 檢查及刪除 Temporary Internet Files (TIF)。
&#8211; 檢查及刪除 Cookies。
&#8211; 檢查及刪除 History。
&#8211; 檢查及刪除 Temp files。
&#8211; 檢查及刪除最近開啟文件。
&#8211; 刪除輸入的網址。
&#8211; 刪除 Prefetch 資料庫內容。
&#8211; 自動建立在 DOS 刪除 index.dat 檔案的 batch 檔。
官方網站：Index.dat Suite 

]]></description>
			<content:encoded><![CDATA[<p>在 IE 即使刪除了 Internet 暫存當、cookies 及 history 後，系統還是會留下 index.dat 檔案，這個檔案紀錄了各種瀏覽紀錄。雖然 index.dat 不可以用文字編輯器開啟，但只要使用專門開啟 index.dat 工具便可以查看內裡的資料，而 Index.dat Suite 便是功能豐富及免費的檢查 index.dat 的工具。</p>
<p>Index.dat Suite 主要功能包括：</p>
<p>&#8211; 檢查, 刪除及備份 index.dat 檔案。<br />
&#8211; 檢查及刪除 Temporary Internet Files (TIF)。<br />
&#8211; 檢查及刪除 Cookies。<br />
&#8211; 檢查及刪除 History。<br />
&#8211; 檢查及刪除 Temp files。<br />
&#8211; 檢查及刪除最近開啟文件。<br />
&#8211; 刪除輸入的網址。<br />
&#8211; 刪除 Prefetch 資料庫內容。<br />
&#8211; 自動建立在 DOS 刪除 index.dat 檔案的 batch 檔。</p>
<p>官方網站：<a href="http://support.it-mate.co.uk/?mode=Products&#038;p=index.datsuite" title=" Index.dat Suite " target="_blank">Index.dat Suite </a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/software/494/feed/</wfw:commentRss>
		</item>
		<item>
		<title>買入並持有過時了嗎?</title>
		<link>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/493</link>
		<comments>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/493#comments</comments>
		<pubDate>Thu, 13 Mar 2008 11:32:23 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>精明消費 / 理財</category>

		<guid isPermaLink="false">http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/493</guid>
		<description><![CDATA[前幾天在信報看到曹 Sir 的專欄，他解釋現在用 buy &#038; hold 的策略已經過時，例如從 1997 年買入恆指至今，平均每年只有四厘多的複式回報；另外，如果能在去年八月 19300 點入市，在 32000 點沽出，回報已經有 64.8% 回報率，是長線投資者長年的回報。
我都幾喜歡看曹 Sir 的專欄，但我堅信買入並持有的策略，我相信買入優質股份後長期持有，尤其適合像我這類散戶，因為自己要工作，不可能時刻都留意股市行情，而且曹 Sir 提出的論點有幾個問題：
1. 假設在 1997 年高位買，並在今年的低位計算。
2. 沒有計算股息。
3. 同第一點一樣，假設去年八月撈底成功，並在最高位沽出，我相信沒有人有這個本領，即使有也是運氣。
我在過去的幾個月買入的中人壽及中移動現在已經坐艇 (套牢)，檢討自己所犯的錯誤，就是沒有耐性等待更好的買入價。但值得安慰的是，持有的股份全都可以讓我安心繼續持有。暫時還不會再買貨，因為現金水平已經跌至 15%，這個現金水平是我可以接受最低的，只有靠月供股票繼續累積自己喜歡的股份。月供股票仍然沒有改變，每月供 $6,000，所有收到的股息會用月供的方式再投資。
]]></description>
			<content:encoded><![CDATA[<p>前幾天在信報看到曹 Sir 的專欄，他解釋現在用 buy &#038; hold 的策略已經過時，例如從 1997 年買入恆指至今，平均每年只有四厘多的複式回報；另外，如果能在去年八月 19300 點入市，在 32000 點沽出，回報已經有 64.8% 回報率，是長線投資者長年的回報。</p>
<p>我都幾喜歡看曹 Sir 的專欄，但我堅信買入並持有的策略，我相信買入優質股份後長期持有，尤其適合像我這類散戶，因為自己要工作，不可能時刻都留意股市行情，而且曹 Sir 提出的論點有幾個問題：</p>
<p>1. 假設在 1997 年高位買，並在今年的低位計算。<br />
2. 沒有計算股息。<br />
3. 同第一點一樣，假設去年八月撈底成功，並在最高位沽出，我相信沒有人有這個本領，即使有也是運氣。</p>
<p>我在過去的幾個月買入的中人壽及中移動現在已經坐艇 (套牢)，檢討自己所犯的錯誤，就是沒有耐性等待更好的買入價。但值得安慰的是，持有的股份全都可以讓我安心繼續持有。暫時還不會再買貨，因為現金水平已經跌至 15%，這個現金水平是我可以接受最低的，只有靠月供股票繼續累積自己喜歡的股份。月供股票仍然沒有改變，每月供 $6,000，所有收到的股息會用月供的方式再投資。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/%e7%b2%be%e6%98%8e%e6%b6%88%e8%b2%bb-%e7%90%86%e8%b2%a1/493/feed/</wfw:commentRss>
		</item>
		<item>
		<title>開始購買兩份報紙</title>
		<link>http://www.real-blog.com/my-life/492</link>
		<comments>http://www.real-blog.com/my-life/492#comments</comments>
		<pubDate>Thu, 06 Mar 2008 09:25:15 +0000</pubDate>
		<dc:creator>Sam Tang</dc:creator>
		
		<category>生活隨筆</category>

		<guid isPermaLink="false">http://www.real-blog.com/my-life/492</guid>
		<description><![CDATA[自己一直是購買方向報，原因只是家人喜歡看，但近來發覺不太喜歡方向報及水果報這類報紙的報道手法，看過幾份報紙後，從上星期開始每天購買方向報及信報。雖然多購買一份報紙每月要使多百多元，但覺得信報的文章及報道較深入。
我有一位長輩一天買五份報紙，但他只看裡面的馬經，我曾經問他每天三十元，一年就大約一萬元，賭馬是否可以賺回來，他說沒有算過，但應該還是賠的，原因只是為了打發退休生活。

]]></description>
			<content:encoded><![CDATA[<p>自己一直是購買方向報，原因只是家人喜歡看，但近來發覺不太喜歡方向報及水果報這類報紙的報道手法，看過幾份報紙後，從上星期開始每天購買方向報及信報。雖然多購買一份報紙每月要使多百多元，但覺得信報的文章及報道較深入。</p>
<p>我有一位長輩一天買五份報紙，但他只看裡面的馬經，我曾經問他每天三十元，一年就大約一萬元，賭馬是否可以賺回來，他說沒有算過，但應該還是賠的，原因只是為了打發退休生活。
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.real-blog.com/my-life/492/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
