Torrenting Server
| 13 (trixie) |
|
| As always... | |
|---|---|
|
Start with: |
|
Preparation
Storage
Storage space for downloading (Torrents & such) should be done on a dedicated drive.
I tend to do most of my storage via NFS served up by my dedicated storage server.
Create a DONE & a WIP folder on the storage drive. This will make it easier to keep things organised.
sudo mkdir /mnt/Download_Spacesudo vi /etc/fstab
StorageServer:/Download_Space /mnt/Download_Space nfs rw,user,exec 0 0
sudo mkdir /mnt/Download_Space/DONEsudo mkdir /mnt/Download_Space/WIP
If you don't want to use an NFS share for this, you could either add a dedicated drive or just set up the folders on the boot drive. I'd seriously recommend, at minimum, 500GB of available space.
Useful things
Configure your download server to use a good VPN.
Install Transmission-daemon
sudo apt install transmission-daemon
Configure Transmission-daemon
Note: Any time you edit settings.json, You need to stop transmission-daemon first or it'll overwrite your changes.
sudo service transmission-daemon stopsudo vi /var/lib/transmission-daemon/info/settings.json
Here is an incomplete list of items to edit. (based on my own setup...):
"download-dir": "/mnt/Download_Space/DONE", "incomplete-dir": "/mnt/Download_Space/WIP", "incomplete-dir-enabled": true, "lpd-enabled": false, "ratio-limit-enabled": true, "rpc-authentication-required": true, "rpc-bind-address": "HOSTNAMEorIP", "rpc-password": "Pick a good password (will become encrypted automagically)", "rpc-username": "greybeard", "rpc-whitelist": "127.0.0.1,192.168.*.*", "script-torrent-done-enabled": true, "script-torrent-done-filename": "/usr/local/bin/TorrentDone.sh", "umask": 18,
sudo service transmission-daemon start
Take a look at what passes for documentation for further pointers.
Notes
Folder permissions are VERY important...
sudo chmod -R 777 /mnt
Seems to work... But it's FUGLY
Some Links
- TransmissionHowTo on Ubuntu Help Wiki
- Transmission on ArchWiki
- Editing Configuration Files transmission on transmission wiki - github
- Permission denied when downloading with transmission deamon on askubuntu