Home Download Debian

How to install a torrent client on Debian server

transmission-cli is the perfect torrent client for command line interface servers. it uses fewer resources then other clients, it has daemon process, can be controlled remotely by web-ui interface, it has local peer discovery support, full encryption transfer, speed limits, download rate, scheduled downloads, magnet links, DHT, UPnP and NAT-PMP port forwarding, etc.

Make yourself superuser:


To install transmission-cli torrent client:

apt-get install transmission-cli transmission-common transmission-daemon

To start, stop or restart the daemon:

/etc/init.d/transmission-daemon start

/etc/init.d/transmission-daemon stop

/etc/init.d/transmission-daemon restart

To edit it's settings, stop the daemon and to open settings file found at /etc/transmission-daemon/settings.json

nano /etc/transmission-daemon/settings.json

you will have all kind of settings which are self explanatory. you will need to configure settings for transmission such as download directory and the rpc-whitelist.

The download directory is:

"download-dir": "/home/yourusername/download",

and the temporary directory where the files are holded until is finished:

"incomplete-dir": "/home/yourusername/download",

The rpc-whitelist is a list that allows certain IPs to access the web interface to download files. Add your local IP (likely 192.168.*.*)

"rpc-whitelist": ", 192.168.*.*",
"rpc-whitelist-enabled": true,

To setup a password for transmission webinterface, edit the following:

"rpc-enabled": true,
"rpc-port": 9091,
"rpc-username": "yourusername",
"rpc-password": "{67576ti6tri4d2f6cd764d416454c418cd08831aeSTehm5xf",

- the rpc-port is the port where you will access the web interface
- rpc-username is the username of web interface
- rpc-password is the password of web interface. please note that you will enter a plain password and after starting transmission the password will be encrypted automatically.

While your here it's probably a good idea to set the speed limits so you don't max out your home connection since this will probably be running in the background all the time.

"speed-limit-down": 60,
"speed-limit-down-enabled": true,
"speed-limit-up": 10,
"speed-limit-up-enabled": true,

Then restart the server by running the following command:

/etc/init.d/transmission-daemon start

Your web service should be started by now and you should be able to access it from the specified IPs in the whitelist.

Access the webpage at the following address:


the port can be changed in the settings, and also the username and password, if you want a login system.

The transmission has support for addons.

This tutorial was taken from ubuntu-for-humans.blogspot.com


Post a Comment