it's no different really. I'm not going to tell you step by step because i don't use centos or ubuntu and probably never will until they support ZFS
anyways, the steps are as follows:
install rtorrent with xmlrpc-c support. The best way to handle this is via source installs. This means you need require build utilities, a quick google should help with this.
once you have your build tools, download rtorrent sources. best way to do this is via subversion. again, i'm not 100% sure on the package manager in centos but i'm sure subversion is available.
then use subversion to get rtorrent. If you want the latest rtorrent, it would be like this:
Code:
svn co svn://rakshasa.no/libtorrent/trunk
then simply do the following:
Code:
cd libtorrent
./autogen.sh
./configure
make
make install
cd ../rtorrent
./autogen.sh
./configure --with-xmlrpc-c
make
make install
this gets you rtorrent installed.
from then, you need a webserver. Pick whichever one you want. If you want the webserver to handle the scgi mount (this is ideal for speed and load) then make sure you have the required module. For lighttpd, i think it comes with this. For apache, install mod_scgi
then it's just a matter of setting up rtorrent. a simple config file like this should be suffecient:
Code
#min_peers = 40
#max_peers = 100
#min_peers_seed = 10
#max_peers_seed = 55
#max_uploads = 15
#max_uploads_global = 100
#max_downloads_global = 150
download_rate = 0
upload_rate = 0
directory = ~/rtorrent/download/
session = ~/rtorrent/.session
#schedule = watch_directory,5,5,load_start=~/rtorrent/.watch/*.torrent
#schedule = untied_directory,5,5,stop_untied=
schedule = low_diskspace,5,60,close_low_diskspace=512M
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
#ip =
#bind =
check_hash = no
use_udp_trackers = yes
encryption = allow_incoming,enable_retry,prefer_plaintext
dht = auto
peer_exchange = yes
hash_read_ahead = 10
hash_interval = 10
hash_max_tries = 5
scgi_port = 127.0.0.1:5000
dht_port = 10001
port_range = 51001-51001
saved as .rtorrent.rc in the users home dir you wish to run rtorrent. Also, create the dir's set in this file for rtorrent's downloads OR change them in .rtorrent.rc
Code:
mkdir -p ~/rtorrent/download/
mkdir ~/rtorrent/.session
then install screen, check your distro's packages for this. This is helpful so you can leave rtorrent running without having to leave a terminal window open.
once you have screen installed, your .rtorrent.rc in your user's home dir and all the right dirs, test rtorrent and screen
Code:
screen
rtorrent
it should open rtorrent. you can detach the screen by hitting control-a then d
you can re-attach to the screen by typing screen -x
read up on screen for more details.
at this point, download rutorrent files and follow the instructions from the googlecode wiki.