星期六, 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/

沒有留言: