Raspberry Pi – Install the BitTorrent Deluge client
After a series of tutorials on electronics, small return to the sources with the installation of Deluge, a BitTorrent client.
I've seen go in the Google results that led someone, search for flood and I stumbled on This site. So it is left to test and install this client that has existed for a good time !
- Great classic : the update of the system
apt-get update && apt-get -y upgrade
- Install Deluge. For this tutorial we will install the version service so no client with GTK and another X Server.
apt - get install deluged deluge-web
- To configure the daemon is in the file /var/lib/deluge/core.conf It's happening. The most important thing is the location of the files. There are 4 :
- move_completed_path : where to copy the completed files
- torrentfiles_location : where to store the torrents
- download_location : where to put the files being loaded
- autoadd_location : where torrent files which should be added to trigger a download
You can define what will be right for you. Ditto for the rest of the parameters.
- Then for the Web server, the configuration is done in the file /var/lib/deluge/Web.conf. You can set the port number to access the interface, If you want HTTPS with certificates, etc. The rest is done from the browser.
- You can now test the web interface with the following commands :
In a first terminal, It is necessary to run the server deluged :
deluged-d-c/var/lib/flood-l /var/log/deluged.log-L warning
In a second terminal, the Web server :
/usr/bin/deluge-web UI/var/lib/flood-l /var/log/deluge-web.log-L warning
- You can now access the Web interface via the IP and port (in the configuration of the point 4) :
The default password is : flood. You will be prompted to change it to the first connection :
- You can now use flood as you want :
If you want to run the daemon and the Web server on each reboot of the Raspberry Pi, You can inspire you to this article.