Rtorrent
From Gentoo Linux Wiki
Contents |
[edit] Introduction
rTorrent is a text-based, ncurses BitTorrent client written in C++, based on the libTorrent libraries. More detailed information can be found on wikipedia, either way, its probably the best and fastest client you'll ever use.
[edit] Install
rTorrent can use the xmlrpc interface for 3rd party programs. If you would like to make use of this feature, enable the xmlrpc USE flag:
In addition, rTorrent can be run in daemon mode. If you would like to make use of this feature, enable the daemon USE flag:
Nb: If you want both the flags, use:
Now you can install rTorrent:
[edit] Configure
Define the user which will run rTorrent by editing /etc/conf.d/rtorrentd then add rtorrentd to the rc.
Anytime you want to reattach the rTorrent screen, make sure to be identified as the user defined in /etc/conf.d/rtorrentd and just use the following command: screen -dr rtorrent
[edit] IPTables Port Forwarding
If you are also running iptables on this server, make sure to open the corresponding ports with the following:
[edit] Firewall Configuration
Usually you want to configure your firewall to allow certain ports. Many people also like to blacklist known corporate trackers, for privacy reasons. See the following for more information about these things.
[edit] Issues & Fixes
[edit] 'Cannot Connect to rTorrent'
Edit your /etc/cgi-php/php.ini to read the following:
; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = Off ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. allow_url_include = Off