How to Install rTorrent/ruTorrent Seedbox on an Ubuntu VPS

This tutorial will guide you through the installation of libtorrent 0.13.0, rTorrent 0.9, and the ruTorrent Web UI (3.0) on a Debian or Ubuntu system. It has been tested with Debian 6 (x64) and Ubuntu 11.04 (x64). We have 2GB RAM Ubuntu VPS for only $19.99 if you need an Ubuntu VPS.

 

To begin, access your VPS via SSH and run the following to update your platform and install some needed dependencies:

 

# apt-get update

# sudo 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

Enable scgi for Apache:

 

# apt-get install libapache2-mod-scgi

# ln -s /etc/apache2/mods-available/scgi.load /etc/apache2/mods-enabled/scgi.load

Install XMLRPC:

 

# mkdir /install;cd /install

# svn checkout http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c

# cd xmlrpc-c

# ./configure --disable-cplusplus

# make

# make install

 

Install rtorrent and libtorrent

 

First you need to download libtorrent latest Version from here in /usr/local/ directory.

 

#wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.1.tar.gz

#sudo tar xvf libtorrent-0.11.1.tar.gz

#cd libtorrent-0.11.1

#sudo ./configure

#sudo make

#sudo make install

 

First you need to download rtorrent latest Version from here http://libtorrent.rakshasa.no/ in /usr/local/ directory.

 

#wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.1.tar.gz

#sudo tar xvf rtorrent-0.7.1.tar.gz

#cd rtorrent-0.7.1

#sudo ./configure

#sudo make

#sudo make install

 

Create required directories:

 

# mkdir /home/seeder1/rtorrent

# mkdir /home/seeder1/rtorrent/.session

# mkdir /home/seeder1/rtorrent/watch

# mkdir /home/seeder1/rtorrent/download

 

Setup .rtorrent.rc file (rTorrent config)

 

(Edit the settings in .rtorrent.rc, like max upload/download speed, max connected peers, etc, as needed.)

 

Secure /rutorrent:

 

# a2enmod ssl

# a2enmod auth_digest

# a2enmod scgi

# openssl req $@ -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.pem

# chmod 600 /etc/apache2/apache.pem

# htdigest -c /etc/apache2/passwords seedbox seeder1

(Enter a password of your choice when prompted, you will use this to log in to the ruTorrent web UI.)

 

# cd /etc/apache2/sites-available/

# rm -rf default

# a2ensite default-ssl

# /etc/init.d/apache2 reload

Install screen:

 

# apt-get install screen

Start rTorrent in a detached shell using screen:

 

# screen -fa -d -m rtorrent

(To start rtorrent automatically after reboots, add the above command to /etc/rc.local)

 

Setup is now complete! Access ruTorrent at http://xx.xx.xx.xx/rutorrent/ (replace xx.xx with your server's IP address). You should be greeted with a login prompt, where the username is "seeder1" and the password is the one you set above in the "secure /rutorrent" section.

Was this answer helpful?

 Print this Article

Also Read

Install and Run UnixBench on CentOS or Debian VPS

This tutorial will cover how to  install and run UnixBench on a CentOS Linux VPS or Debian...

Installing htop on a CentOS VPS

If you want to install ‘htop’ (a very good Linux process viewer) onto a server...

How to Install Webmin on Ubuntu 14.04

In this guide we will cover how to install Webmin on Ubuntu 14.04. Webmin can be installed on...

Installing Fail2Ban on Ubuntu

Installing Fail2ban on Ubuntu is an important measure to take when securing an Ubuntu based...

Getting Started with an Ubuntu VPS Running 14.04 Server

When you get a new Ubuntu VPS or server there are a few things you want to make sure are taken...