Home Download Ubuntu

How to install a torrent client on Ubuntu server

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

To install transmission-cli torrent client:

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

To stop, start or restart the daemon:

sudo /etc/init.d/transmission-daemon start

sudo /etc/init.d/transmission-daemon stop

sudo /etc/init.d/transmission-daemon restart

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

sudo 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 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,

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 doing sudo /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.

Resources: Official transmission client website, edit configuration file, transmissioncli commands, transmission-daemon commands, transmission-remote commands, ubuntu manual, notes.benlaw.net


Jak83 said...

Hi, what's the best settings into settings.json for remote access to web-ui?

Thanks, Jak.

Speedy Gonzales said...

I think the settings i've wrote in this tutorial :) The settings you don't see here can be left as they are. I already use these settings at home, to my linuxbox.

Jakob Rohde said...

Hi Speedy Gonzales

Thanks for the guide.

My settings.json keeps getting reset to the original. Any idea why?


Speedy Gonzales said...

Yes. You have to stop the transmission-daemon process first, edit the file, save it, and then start the process again.

kdawgnc said...

FYI, this is from the readme file beside settinfs.json
"Currently transmission overwrites the settings.json configuration file
on exit. The daemon can be instructed to reload the config with a SIGHUP,
# invoke-rc.d transmission-daemon reload

Otherwise changes made manually to the file while the daemon is running
will be silently overwritten on exit."

Post a Comment