Difference between revisions of "Torrenting Server"
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> | ||
* <code>sudo apt install transmission-daemon</code> | |||
== Configuring Transmission-Daemon == | |||
'''Note:''' Any time you edit settings.json, You need to stop transmission-daemon first or it'll overwrite your changes. | |||
* <code>sudo service transmission-daemon stop</code> | |||
* <code>sudo vi /var/lib/transmission-daemon/info/settings.json</code> | |||
(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 | * <code>sudo service transmission-daemon start</code> | ||
Take a look at [https://github.com/transmission/transmission/blob/main/docs/Editing-Configuration-Files.md what passes for documentation] for further pointers. | |||
== Notes == | |||
Folder permissions are VERY important... | |||
* <code>sudo chmod -R 777 /mnt</code> | |||
< | |||
Seems to work... 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
- 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