Manually build rTorrent with rtGui

26Oct09

rtorrent

I you, like me, have a Linux server in your home network, there are ways to make it work as a beautiful torrent client for all network users and thus limit setting up clients on all workstations and opening unnecessary amounts of ports. (you can also use it on a nix workstation of course, but in this guide I am using a headless server).

For torrent handling we use rTorrent and libtorrent developed by Jari Sundell, “Rakshasa”, a student of computer science at the University of Oslo.
To make things simpler we will use rtGui which is a web based front end for rTorrent . It’s written in PHP and uses XML-RPC to communicate with the rTorrent client.

For more information on rTorrent, see the home page: http://libtorrent.rakshasa.no/
For more information on rtGui, see the home page: http://code.google.com/p/rtgui/

Requirements : what I am using in ()

  • Computer running Linux (Ubuntu server 8.04LTS)
  • Internet (10/10 Fiber link)
  • Tiny bit of Nix know how (some)

Getting started:

From your server console (text in bold you can paste into termina):

1.Get the required files for running the torrent setup

sudo aptitude install php5 libxmlrpc-c3-dev php5-xmlrpc libapache2-mod-scgi libncurses5-dev libsigc++-2.0-dev libcurl4-openssl-dev screen build-essential
sudo vim /etc/apache2/sites-enabled/000-default

Add the following text above the last “</VirtualHost>”

LoadModule scgi_module /usr/lib/apache2/modules/mod_scgi.so
SCGIMount /RPC2 127.0.0.1:5000
sudo apache2ctl restart

2.Get rtorrent from http://libtorrent.rakshasa.no/downloads/ (at this time rtorrent-0.8.5.tar.gz)

cd /tmp
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.5.tar.gz
tar xvf rtorrent-0.8.5.tar.gz
cd rtorrent-0.8.5/
sudo ./configure -with-xmlrpc-c
sudo make
sudo make install

3.Get libtorrent from http://libtorrent.rakshasa.no/downloads/ (at this time libtorrent-0.12.5.tar.gz)

cd /tmp
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.5.tar.gz
tar xvf libtorrent-0.12.5.tar.gz
cd libtorrent-0.12.5/
sudo ./configure
sudo make
sudo make install

4.Get rtgui from http://code.google.com/p/rtgui/downloads/list (at this time rtgui-0.2.7.tgz)

cd /tmp
wget http://rtgui.googlecode.com/files/rtgui-0.2.7.tgz
sudo tar xvf rtgui-0.2.7.tgz -C /var/www
sudo mv /var/www/rtgui/config.php.example /var/www/rtgui/config.php

The last line just renames the the rtgui configfile to it´s intended name

Ok, now all the installing is over. I decided to make the configuring rtorrent/rtGui a seperate post to shorten down the posts. Read configuring rtorrent/rtGui.

Advertisement


No Responses Yet to “Manually build rTorrent with rtGui”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.