Skip to content

Instantly share code, notes, and snippets.

@eriknomitch
Last active January 27, 2020 12:48
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eriknomitch/94fc7ae717e7766d37d19df9bbeb1796 to your computer and use it in GitHub Desktop.
Save eriknomitch/94fc7ae717e7766d37d19df9bbeb1796 to your computer and use it in GitHub Desktop.
Transmission Daemon (transmission-daemon) Quickstart

Transmission Daemon (transmission-daemon) Quickstart

This should work for Debian or Debian-deriviants (e.g., Ubuntu)

Quickstart

Install transmission-daemon

sudo apt-get install transmission-daemon

This is how you control the daemon (start|stop|restart)... Stop it for now.

sudo service transmission-daemon stop

Add your non-root user to the transmission group (this is so you'll be able to have write permissions to the downloads directory)

sudo usermod -a -G debian-transmission `whoami`

Reboot your server running transmission-daemon (not your computer ssh-ing into it) to activate the group (there's really no good way to activate a group without a reboot)

sudo reboot

Ensure you're in the debian-transmission group (P.S., the command "groups" shows you all the groups you are in)

groups | grep debian-transmission > /dev/null && echo "You are in that group." || echo "You are NOT in that group."

This is the main settings file. Edit it.

sudo vim /var/lib/transmission-daemon/info/settings.json

Find this line:

    "rpc-whitelist": "127.0.0.1",

And replace it with this:

    "rpc-whitelist": "127.0.0.1,192.168.1.*",

If your subnet is not 192.168.1.x, modify accordingly

Write the file and quit

Start the daemon back up again

sudo service transmission-daemon start

In a browser, go to:

http://<IP-of-your-transmission-server>:9091

The default username/password is transmission/transmission

Add a torrent from the web interface

When it's done, it'll be here:

/var/lib/transmission-daemon/downloads

You may want to make a symbolic link like this for easy access to that directory

ln -s /var/lib/transmission-daemon/downloads ~/.torrent-downloads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment