星期一, 9月 29, 2008

颱風假生病天

唉!~
一個薔蜜搞著台灣到處淹水
颱風假而我並沒有比較高興
因為Sam生病了 :(
從昨天晚上開始頭疼得很
原本以為昨晚早些休息今天會比較好點...反而人更不舒服
感冒 ~老媽說的
看來我現在趕快上床睡覺去吧
明天上班應該會很多事情要做~

星期日, 9月 28, 2008

宮崎駿 - 懸崖上的金魚公主



今天在家裡看電影打發時間 ; 懸崖上的金魚公主
宮崎駿的卡通電影一直是Sam的最愛
這部片還蠻好笑的
當然也顛覆了以往對人魚公主的情結
因為Sam認知的人魚公主最後是悲傷的下場
而懸崖上的金魚公主反而不是ㄝ
金魚公主最後跟人類因Kiss而轉變成真正的人類 (其實我覺得應該是她主動去吻的)
總之結局是開心的 ~ :)

星期六, 9月 27, 2008

另一種安裝rTorrent的方法

How To Compile rTorrent From SVN In Ubuntu
Torrent is a great way to transfer large files very quickly. However most torrent clients are gui based and have quite some impact on system resources (e.g. Azureus). rTorrent is a lightweight client running from the terminal. Being able to run it in a screen session (also upon boot) makes it ideal to also control it from a remote location.
However the current version provided in the ubuntu repositories is very much outdates. It's version 0.6.x - and features not yet encryption. So your ISP may throttel you bandwidth because of that. The version in the coming Ubuntu release is (currently) v.0.7.4. Also this version is already outdated. The current rTorrent release is v.0.7.8.
Assumptions
In this tutorial I will use the defaults user home location and will download all the SVN files there. Specifically I'll use ~/rtorrent for the SVN files. Further you are supposed not to be logged in as root but as a normal user.

1. Get required packages
sudo apt-get install subversion build-essential libtool automake1.9 openssl libcurl3 libcurl3-dev libsigc++-2.0-0c2a libsigc++-2.0-dev libncurses5 libncurses5-dev
Note: Automake must be a newer version than 1.4. So other automake versions work also. I just used 1.9 here because I need it for something else also.

2. Create the rtorrent download folder
mkdir ~/rtorrent

3. Go to the rtorrent download foldercd
~/rtorrent
Current location: /home/USER/rtorrent

4. Then get the latest trunk version
svn co svn://rakshasa.no/libtorrent/trunk

5. Enter the trunk folder
cd trunk
Current location: /home/USER/rtorrent/trunk

6. Update rTorrent to the latest SVN version
svn up

7. Go to the libtorrent folder
cd libtorrent
Current location: /home/USER/rtorrent/trunk/libtorrent

8. Run the autogen script
./autogen.sh

9. Configure it
./configure

10. Compile libtorrent
make

11. Install libtorrent on the system
sudo make install

12. Go to the rTorrent folder
cd ../rtorrent
Current location: /home/USER/rtorrent/trunk/rtorrent

13. Run the autogen script
./autogen.sh

14. Configure it
./configure

15. Compile rTorrent
make

16. Install rTorrent on the system
sudo make install

17. Run rTorrent
rtorrent

Update to newest versionIf you want to update rTorrent later to the newest version, just start with step (6) from this howto.

星期三, 9月 24, 2008

底片機ViVitar Ultra Wide & Slim

上次在露天網拍買的底片機
終於將36張底片給拍完了....
第一捲也是最後一捲 (底片機已經送給朋友了)
底片沖加掃的結果還蠻不錯的~果不其然是一台標準的日光機!!
挑了幾張感覺還不錯的PO上來~

照片中的人物是Sam...

雨後的公司外廣場

大甲鎮瀾宮







後院的蘭花



隔壁的學校

星期六, 9月 20, 2008

rTorrent+nTorrent on Xubuntu 7.10 (Command line)

哈~.~
終於被我安裝起來了
上次在中秋連續假期時Sam的BT 下載機的BT Torrent Client program 掛了
那時的Sam真的是垂心肝~阿
還好利用連續假期的空檔研究了rTorrent安裝方法與搭配的Utility程式
今天就把它裝起來了, 如下:
一. 首先重新安裝系統, Sam選用Xubuntu 7.10 命令列模式, Xubuntu比較適合舊式主機板. (Sam的板子是MINI ITX VIA C3 533MHz/ DIMM 256MB x2 / 80GB PATA HDD)
二. 當整個系統安裝完畢後Login進入Command line, 然後下載編譯套件
$ sudo apt-get install automake autoconf libtool g++ subversion libxml2-dev libwww-dev libssl-dev libncurses5-dev libcurl4-openssl-dev libsigc++-2.0-dev
三. 下載xmlrpc, libtorrent與rTorrent套件
$REPOS=http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced
$svn checkout $REPOS xmlrpc-c
$svn co svn://rakshasa.no/libtorrent/trunk
四. 切換到root帳號登入來編譯xmlrpc
$sudo -i
#cd /home/xxx/xmlrpc (xxx ->為user家目錄)
#./configure (如果有錯誤時可以用 ./configure --disable-cplusplus)
#make
#make install
五. 編譯libtorrent
#cd /trunk/libtorrent/
#./autogen.sh
#./configure
#make
#make install
六. 編譯rTorrent
#cd /trunk/rtorrent/
#./autogen.sh
#./configure --with-xmlrpc-c
#make
#make install
七. 修改rtorrent.rc後並移到~/.rtorrent.rc
八. 下載libapache2-mod-scgi, libxmlrpc-c3-dev與apache2
#apt-get install libapache2-mod-scgi libxmlrpc-c3-dev apache2 (Sam覺得apache2應該不需要裝)
九.啟動rtorrent並丟至幕後執行
#screen -m -d rtorrent /usr/local/bin/rtorrent
十. 下載nTorrent來當作control端
網址: http://code.google.com/p/ntorrent/

星期一, 9月 15, 2008

FreeNAS



這幾天Sam還在灌Ubuntu + rTorrent搞的人仰馬翻
沒想到幾天沒上FreeNAS官方網頁他已經釋出新版
~ FreeNAS 0.69b3 ... 2008/09/14
此次有新的變革
Majors changes:
Add nullfs.ko and unionfs.ko kernel modules.
Display warning message when user is going to delete an software RAID or encrypted volume.
Add 'Recursive', 'Times', 'Compress' and 'Archive' checkbox to RSYNC client/local WebGUI. Also add 'Delete algorithm' option in RSYNC client/local WebGUI to specify deletion algorithm when 'Delete' option has been choosen.
Add 'Execute now' button in RSYNC client/local WebGUI. This button is only visible if you edit existing RSYNC jobs (because of implementation reasons).
Add nVidia nForce MCP on-board ethernet support.
Add audio transcoding support to mt-daapd/firefly.
Add audio/video transcoding support to fuppes (Thanks to Thomas Grønsten for fine tuning the PS3 settings).
Increase mfs_root size to 74MB (32bit) and 80MB (64bit).
CTorrent BitTorrent client has been replaced by Transmission which includes a WebGUI.
Upgrade inadyn-mt to 02.12.24, Samba to 3.0.32, nano to 2.0.8.
Add Network UPS tools 2.2.2 and WebGUI in 'ServicesUPS'.
Add bash to support better scripting capabilities for experts.
Add 'Run now' button for CRON jobs (FR 2062970).
Add AFP3.2 (FPSyncDir) support to netatalk.
Add patch (increase number of kernel page tables) to fix booting problem on systems > 2GB RAM.

其實Sam最主要的是看上這個版本有支援BT Client與WebGUI的介面功能
不過從下載映像檔至今我還是無法將IMG映像檔燒錄到CD片中
NERO一直顯示Block Size錯誤 .... :(原來是我搞錯了應該要下載ISO檔, IMG檔是韌體更新的檔案.

另外, FreeNAS的圖示好像最近電影中的地獄怪客喔 ~ 哈...這是另一個小發現
FreeNAS官方網頁: http://www.freenas.org/index.php?option=com_frontpage&Itemid=1

星期五, 9月 12, 2008

中秋假期颱風天

好不容易盼到一個連續假期
但是...
卻是一個颱風天~悲
在家看影集好了 :(
很慘...連我的BT Client也掛了
那些下載到一半的影片檔案全不見了

星期二, 9月 09, 2008

生日快樂

祝自己
今天生日快樂

雖然沒有任何的慶祝活動
只有苦命的加班
但是
還是跟自己說 ~ 生日快樂

星期五, 9月 05, 2008

gOS - Discover a Good OS



這是一個叫做gOS的作業系統
是基於一個Linux Ubuntu的平台
官方網頁: http://www.thinkgos.com/index.php
目前最新版gOS 3 BETA已經發行出來
今天從網路下載gOS 2.9 並安裝在我的VIA ITX主機板上
可能是因為我的ITX系統不夠力所以裝起來超級的慢
但是, 大家可以注意到桌面真的很像Mac OSX
改天到公司找一台夠力的機器來裝看看
順便裝CrossOver for Linux這套軟體
看看在gOS是不是可以裝Windows下一些套裝軟體...希望是可行的~

星期一, 9月 01, 2008

梁靜茹 - 今天情人節



如果我們能在一起
我會記得今天 ~ 就是情人節
新歌 + 精選 ~ 梁靜茹 今天情人節
Sam個人還蠻喜歡梁靜茹的
這種梁式情歌有打動我的心 推薦你/妳