Install Transmission a BitTorrent Client

Install Transmission in a Debian based systems (server or desktop)

Add Transmission PPA Repository

If you want the latest then add the PPA repository

Update repositories

Install transmission

Configure

There are many settings which can be configured. This how-to focus on tweaking the default configuration file for use with a server. transmission-daemon will start automatically each time you start your server, with the settings defined in /var/lib/transmission-daemon/info/settings.json

Make sure the Transmission daemon is not running when changing the config file otherwise your changes will be over written.

edit settings.json

Username and Password

The default rpc-username and password is "transmission", Change if increased security is required, Change it to whatever you want (any password will work). After next restart the password will be rewritten in SHA1 encrypted format for security reasons.

Whitelist; This must be changed for remote access rpc-whitelist defines access to transmission. Localhost (127.0.0.1) is defined by default. I added ,192.268.*.* to allow any machine on my LAN access.

You will also have to set the "umask" parameter in Transmission’s settings file to “2” (default is 18) for the account user to have full access to files/folders created by Transmission.

After configuration change, restart transmission

Default File Directory

Place a torrent file in this directory for automatic file download, or change them are you choice

Configure Users and Permissions

It is recommended that Transmission runs under it’s own username for security reasons. This creates a few issues with file and folder access by Transmission as well as your account (let us assume it is user).

Add the username user to the group debian-transmission:

Start transmission

Transmission Daemon

Starting and Stopping Transmission Daemon. After install Transmission, the daemon will be started automatically (but not accessible yet). You can start and stop Transmission daemon using the following commands

Note: Restarting (or reloading) Transmission daemon can be tricky. Restarting the the daemon (while it is already running) would rewrite the Transmission settings files to its original state. In other words, restarting the Transmission daemon would reset all the custom settings you saved.

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode