[Debian Home Server Series] 3. Install torrent (client) with web interface

原帖由 corvus 於 2009-4-17 19:08 發表
file:///C:/Users/corvus/AppData/Local/Temp/moz-screenshot.png
https://docs.google.com/File?id=dfkg5d97_40fh247tg6_b

rtorrent
rtorrentis the best BT client I have ever used. Starting from version 0.8, ...

貼番好耐之前ge 大作先~用Linkstation 2xx Mhz + 128 RAM ~
都有咁ge 速度   rtorrent 真係唔錯~


[ 本帖最後由 clbbhk 於 2009-4-18 06:37 編輯 ]

Howto: Install bittorrent (client) with web interface



rtorrent
rtorrentis the best BT client I have ever used. Starting from version 0.8, it ships with xmlrpc support, making it possible to communicate with other applications.
Alternatives:
torrentflux
http://www.torrentflux.com/

vuze
http://azureus.sourceforge.net/

wiki
http://en.wikipedia.org/wiki/List_of_BitTorrent_clients
Prerequisites
Sincewe want rtorrent to run in the background transparently in a secured manner, we will launch rtorrent with a dedicated user account in a screen session.

service account
Add a new user called rt
nas:~# useradd -U -m rt

-U: create a group with the same name as the user
-m: create home directory for the new user account


Check that the user rt only belongs to the group rt
nas:~# groups rt

rt
Check that the directory, with some default files are created
nas:~# ls -la /home/rt

total 20
drwxr-xr-x 2 rt   rt   4096 2009-04-02 14:54 .
drwxr-xr-x 5 root root 4096 2009-04-02 14:54 ..
-rw-r--r-- 1 rt   rt    220 2008-05-13 03:02 .bash_logout
-rw-r--r-- 1 rt   rt   3116 2008-05-13 03:02 .bashrc
-rw-r--r-- 1 rt   rt    675 2008-05-13 03:02 .profile


Change the password to something else
nas:~# passwd rt
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully


screen session
If screen is not installed on your system, use aptitude to install it
nas:~# aptitude install screen

Installing rtorrent
By the time this article is written, Debian unstable (sid) only provides rtorrent 0.7.9. Although it still partly works with xmlrpc, it's better to get a newer version which supports all functions.

Go to the Debian repository to get the following packages (*.deb) from the experimental branch.
  • rtorrent
  • libtorrent11
Note:
standard x86 CPU = i386 architecture
64-bit system = amd64 architecture

For other dependencies, those provided in the testing branch (squeeze) can be used.

Now we can use aptitude to install the old version of rtorrent from the testing branch, and then use dpkg to update it.
Note:
I cannot remember the exact steps here. But this kind of stupid method should work.

aptitude
nas:~# aptitude install rtorrent

dpkg
nas:~# dpkg -i rtorrent_xxxxx.deb libtorrent11_xxxxx.deb


Read more...

Go back to the master thread


Edit: 04/10/2009 - Making the init script more LSB-compliant, allow migrating to Debian's new dependency boot sequence.

[ 本帖最後由 corvus 於 2009-10-4 16:52 編輯 ]

TOP

原帖由 clbbhk 於 2009-4-18 06:36 發表

貼番好耐之前ge 大作先~用Linkstation 2xx Mhz + 128 RAM ~
都有咁ge 速度   rtorrent 真係唔錯~


你屋企個寬頻都真係幾快.

TOP

With wtorrent,
I can ftp the torrent to home and watch the status by IE instead of ssh.

TOP