This tutorial is detailed in what you need to do to install XMLRPC-C, curl, libsigc++, libtorrent and rtorrent plus the rutorrent webui on a Linux based system. ANY COMMENTS or QUESTIONS are welcome.

Pre-requirement steps

apt-get update
apt-get install subversion build-essential automake libtool libcppunit-dev libcurl3-dev libsigc++-2.0-dev unzip unrar-free curl libncurses-dev
apt-get install apache2 php5 php5-cli php5-curl

Download XMLRPC-C, curl, libsigc++, libtorrent and rtorrent

cd /tmp
svn checkout http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c
wget http://curl.haxx.se/download/curl-7.19.7.tar.gz
wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-2.2.4.tar.gz
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz

Extract them

tar -xvzf curl-7.19.7.tar.gz
tar -xvzf libsigc++-2.2.4.tar.gz
tar -xvzf libtorrent-0.12.6.tar.gz
tar -xvzf rtorrent-0.8.6.tar.gz

Compile libsigc++

cd libsigc++-2.2.4
./configure
make
make install
cd ..

Compile libtorrent

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
cd libtorrent-0.12.6
rm -f scripts/{libtool,lt*}.m4
./autogen.sh
./configure
make
make install
cd ..

Compile XMLRPC-C

cd xmlrpc-c
./configure
make
make install
cd ..

This has installed xmlrpc-c-config to /usr/local/bin/xmlrpc-c-config

Compile rtorrent

cd rtorrent-0.8.6
rm -f scripts/{libtool,lt*}.m4
./autogen.sh
./configure –with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
make
make install
cd ~

Download rtorrent sample configuration and rename it

wget http://libtorrent.rakshasa.no/export/1105/trunk/rtorrent/doc/rtorrent.rc
mv rtorrent.rc .rtorrent.rc

You have to modify the content of .rtorrent.rc file to configure the settings of rTorrent as you needed and place the file into your user directory.

Make sure to insert the following line in .rtorrent.rc !

scgi_port = 127.0.0.1:5000

Get rutorrent (with the correct path ex: /var/www/vhosts/YOURDOMAIN.COM/httpdocs/ for plesk)

cd /var/www/vhosts/YOURDOMAIN.COM/httpdocs/
svn co http://rutorrent.googlecode.com/svn/trunk/rutorrent

 

Get the needed plugin for connecting rutorrent to rtorrent

cd /var/www/vhosts/YOURDOMAIN.COM/httpdocs/rutorrent/plugins
svn co http://rutorrent.googlecode.com/svn/trunk/plugins/rpc

Start rtorrent

screen rtorrent

Test rutorrent web gui

In your browser go to:

YOURDOMAIN.COM/rutorrent

Hey presto!

This is the basic steps to achieve a basic seedbox setup within a Debian/Ubuntu based dedicated server or VPS.
You can expand the functionality of rutorrent by adding more plugins from: http://code.google.com/p/rutorrent/wiki/Plugins

Thanks for reading, remember to COMMENT below if you have questions or just to say thanks.