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...")
 
 
(3 intermediate revisions by the same user not shown)
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>


[https://wiki.archlinux.org/index.php/transmission#Configuring_the_daemon Transmission] on ArchWiki
== Configuring Transmission-Daemon ==
'''Note:''' Any time you edit settings.json, You need to stop transmission-daemon first or it'll overwrite your changes.


[https://github.com/transmission/transmission/wiki/Editing-Configuration-Files Editing Configuration Files transmission] on transmission wiki - github
* <code>sudo service transmission-daemon stop</code>


[https://askubuntu.com/questions/221081/permission-denied-when-downloading-with-transmission-deamon Permission denied when downloading with transmission deamon] on askubuntu
* <code>sudo vi /var/lib/transmission-daemon/info/settings.json</code>


apt install transmission-daemon
(bunch of stuff to be changed...)
<pre>
"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",
</pre>


sudo nano /var/lib/transmission-daemon/info/settings.json
* <code>sudo service transmission-daemon start</code>


(bunch of shit to be changed...)
Take a look at [https://github.com/transmission/transmission/blob/main/docs/Editing-Configuration-Files.md what passes for documentation] for further pointers.


&nbsp;&nbsp;&nbsp; "alt-speed-time-begin": 510,<br>&nbsp;&nbsp;&nbsp; "alt-speed-time-enabled": true,
== Notes ==


&nbsp;&nbsp;&nbsp; "alt-speed-time-end": 1410,
Folder permissions are VERY important...
 
&nbsp;&nbsp;&nbsp; "download-dir": "/mnt/SCRATCH/DONE",
 
&nbsp;&nbsp;&nbsp; "incomplete-dir": "/mnt/SCRATCH/WIP",


&nbsp;&nbsp;&nbsp; "incomplete-dir-enabled": true,
* <code>sudo chmod -R 777 /mnt</code>
 
&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...


sudo chmod -R 777 /mnt
Seems to work... 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

Latest revision as of 22:06, 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

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.

Notes

Folder permissions are VERY important...

  • sudo chmod -R 777 /mnt

Seems to work... But it's FUGLY

Some Links