Difference between revisions of "Torrenting Server"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "= 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 Sha...")
 
Line 17: Line 17:
<p><span style="color: rgb(186, 55, 42);" >'''W'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''I'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''P'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''!!!'''</span></p>
<p><span style="color: rgb(186, 55, 42);" >'''W'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''I'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''P'''</span></p><p><span style="color: rgb(186, 55, 42);" >'''!!!'''</span></p>


[https://help.ubuntu.com/community/TransmissionHowTo TransmissionHowTo] on Ubuntu Help Wiki
* <code>sudo apt install transmission-daemon</code>
* <code>sudo nano /var/lib/transmission-daemon/info/settings.json</code>


[https://wiki.archlinux.org/index.php/transmission#Configuring_the_daemon Transmission] on ArchWiki
(bunch of stuff to be changed...)
 
<pre>
[https://github.com/transmission/transmission/wiki/Editing-Configuration-Files Editing Configuration Files transmission] on transmission wiki - github
"alt-speed-time-begin": 510,
 
"alt-speed-time-enabled": true,
[https://askubuntu.com/questions/221081/permission-denied-when-downloading-with-transmission-deamon Permission denied when downloading with transmission deamon] on askubuntu
"alt-speed-time-end": 1410,
 
"download-dir": "/mnt/SCRATCH/DONE",
apt install transmission-daemon
"incomplete-dir": "/mnt/SCRATCH/WIP",
 
"incomplete-dir-enabled": true,
sudo nano /var/lib/transmission-daemon/info/settings.json
"peer-port-random-on-start": true,
 
"rpc-bind-address": "192.168.0.13",
(bunch of shit to be changed...)
"rpc-password": "{0025b9ac17d57f16afdb3266f038d3d1ae2146205WUrUZLs",
 
"rpc-username": "greybeard",
&nbsp;&nbsp;&nbsp; "alt-speed-time-begin": 510,<br>&nbsp;&nbsp;&nbsp; "alt-speed-time-enabled": true,
"rpc-whitelist": "127.0.0.1,192.168.0.*",
 
"script-torrent-done-enabled": true,
&nbsp;&nbsp;&nbsp; "alt-speed-time-end": 1410,
"script-torrent-done-filename": "/usr/local/bin/TorrentDone.sh",
 
</pre>
&nbsp;&nbsp;&nbsp; "download-dir": "/mnt/SCRATCH/DONE",
 
&nbsp;&nbsp;&nbsp; "incomplete-dir": "/mnt/SCRATCH/WIP",
 
&nbsp;&nbsp;&nbsp; "incomplete-dir-enabled": true,
 
&nbsp;&nbsp;&nbsp; "peer-port-random-on-start": true,
 
&nbsp;&nbsp;&nbsp; "rpc-bind-address": "192.168.0.13",
 
<span style="color: #c0392b;" >&nbsp;&nbsp;&nbsp; "rpc-password": "{0025b9ac17d57f16afdb3266f038d3d1ae2146205WUrUZLs",</span>
 
&nbsp;&nbsp;&nbsp; "rpc-username": "greybeard",
 
&nbsp;&nbsp;&nbsp; "rpc-whitelist": "127.0.0.1,192.168.0.*",
 
&nbsp;&nbsp;&nbsp; "script-torrent-done-enabled": true,
 
<span style="color: #c0392b;" >&nbsp;&nbsp;&nbsp; "script-torrent-done-filename": "/usr/local/bin/TorrentDone.sh",</span>
 
&nbsp;


Folder permissions are VERY important...
Folder permissions are VERY important...
Line 62: Line 42:


Seems to work...&nbsp; But it's FUGLY
Seems to work...&nbsp; But it's FUGLY
== Some Links ==
* [https://help.ubuntu.com/community/TransmissionHowTo TransmissionHowTo] on Ubuntu Help Wiki
* [https://wiki.archlinux.org/index.php/transmission#Configuring_the_daemon Transmission] on ArchWiki
* [https://github.com/transmission/transmission/wiki/Editing-Configuration-Files Editing Configuration Files transmission] on transmission wiki - github
* [https://askubuntu.com/questions/221081/permission-denied-when-downloading-with-transmission-deamon Permission denied when downloading with transmission deamon] on askubuntu

Revision as of 16:02, 17 April 2023

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
  • sudo nano /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",

Folder permissions are VERY important...

sudo chmod -R 777 /mnt

Seems to work...  But it's FUGLY

Some Links