Difference between revisions of "Setting up a Torrent Server"

From SingletonMillerWiki
Jump to: navigation, search
Line 11: Line 11:
 
<pre>
 
<pre>
 
sudo apt-get install deluged
 
sudo apt-get install deluged
 
 
sudo apt-get install deluge-web
 
sudo apt-get install deluge-web
 
</pre>
 
</pre>

Revision as of 06:37, 17 June 2012


This is a guide for setting up a torrent server on the Raspberry Pi using Deluge.


Note. When doing this installation I found it best to do it from the account you want the deluge-daemon to be run from.

Install the deluge daemon and web interface:

sudo apt-get install deluged
sudo apt-get install deluge-web

Follow the instructions at http://dev.deluge-torrent.org/wiki/UserGuide/InitScript/Ubuntu to setup the start scripts and torrent logging. You can run the deluge-daemon using a user already on the Raspberry Pi or create a new user. Don't forget to edit the /etc/default/deluge-daemon file to point to the user account you want to use.

Note: If you create the startup scripts on a Windows machine and then copy them onto the Raspberry PI you will have to run it through dos2unix to get the text file into a linux format. If you don't do this the script won't run (spent a good couple of hours puzzling over this one)

To install dos2unix:

sudo apt-get install dos2unix

Web Interface

Open up a web browser and go to the following address (need to change the IP address to match your RPi)

192.168.1.4:8112 The password is deluge.

You can configure deluge via the web interface or by editing the config file in ~/.config/deluge. You will need to setup the file locations for completed torrents and also a directory to place torrents for the server to download.

To Do List

  • IP Filters / Blocker
  • Execute Plugin (Will allow you to run commands on certain events) - could be useful.
  • RSS Reader