Torrenting Server

From Da Nerd Mage Wiki
Jump to navigation Jump to search

Storage

  • Storage space for downloading (Torrents & such) should be done on a dedicated drive.
    • If setting up on an ESXi-based VM, set up a datastore specifically for this purpose.
    • Another option is to mount the storage space via NFS.

Best solution...

Give the VM a fresh new drive of 500GB to 1TB.

Format the drive & set it to a sensible mounting method (Identify by label... mount at boot...)

chmod -R ugo+rwX /mnt

Create "Done" & "WIP" folders on that drive

Share the "Done" folder

Transmission-daemon

W

I

P

!!!

  • sudo apt install transmission-daemon

Configuring 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 stop
  • sudo vi /var/lib/transmission-daemon/info/settings.json

(bunch of stuff to be changed...)

 "alt-speed-time-begin": 510,
 "alt-speed-time-enabled": true,
 "alt-speed-time-end": 1410,
 "download-dir": "/mnt/SCRATCH/DONE",
 "incomplete-dir": "/mnt/SCRATCH/WIP",
 "incomplete-dir-enabled": true,
 "peer-port-random-on-start": true,
 "rpc-bind-address": "192.168.0.13",
 "rpc-password": "{0025b9ac17d57f16afdb3266f038d3d1ae2146205WUrUZLs",
 "rpc-username": "greybeard",
 "rpc-whitelist": "127.0.0.1,192.168.0.*",
 "script-torrent-done-enabled": true,
 "script-torrent-done-filename": "/usr/local/bin/TorrentDone.sh",
  • sudo service transmission-daemon start

Take a look at what passes for documentation for further pointers.

Folder permissions are VERY important...

sudo chmod -R 777 /mnt

Seems to work...  But it's FUGLY

Some Links