June 20, 2020

How To Install Transmission Torrent Client On Ubuntu Web Server

By Pulkit Verma

Here we are to learn “How To Install Transmission Torrent Client On Ubuntu Web Server“.The BitTorrent protocol can be used to reduce the server and network impact of distributing large files. Rather than downloading a file from a single source server, the BitTorrent protocol allows users to join a “swarm” of hosts to download and upload from each other simultaneously.

Transmission, the default BitTorrent client, reached the 3.00 release a few days ago. Now you can install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 easily via PPA.

Do you Know , there are FREE servers out there where you can install transmission for free !

Install Transmission Torrent Client On Ubuntu Web Server

Transmission 3.00 is a bug-fix release with following changes:

  • Fix building against LibreSSL
  • Fix building against mbedTLS
  • Fix torrents ETA calculation
  • Fix cross-compilation issues caused by miniupnpc configuration test
  • Fix bad downloaded percentage in DetailsDialog for Qt client
  • Fix tracker error XSS in inspector for web client
  • Fix torrent name HTML-escaping in trackers inspector tab for web client.

Transmission bittorrent is probably the most common bittorent client for Linux platforms. Transmission web interface is like a thin client yet feature-rich and aesthetically pleasing. Bittorrent client for Windows and Linux are both available.

Install Transmission Torrent Client On Ubuntu Web Server

I have previously written articles on how to install Deluge with webui on Lucid Lynx server and Precise Pangolin server. I initially started with Deluge but Transmission quickly became my favorite due to its simplicity, ease of install, and yet feature-full webui. In this post, I provide instructions on how to setup server running Ubuntu 12.04 with Transmission (with or without gui interface and with web interface).

This method works on previous versions of Ubuntu as well (>10.04). While this post explains how to run Transmission web interface on a headless server, if you are running a desktop environment, installing a Gtk or Qt interface is just one step away.

Installation of Transmission Torrent Client On Ubuntu Web Server

Transmission is typically installed by default in Ubuntu. If not, install the transmission package from the Universe repository.

Add Transmission PPA Repository

If you want the latest then add the PPA repository

sudo add-apt-repository ppa:transmissionbt/ppa

Update repositories

sudo apt-get update

Install transmission

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

How to Configure Transmission

There are many settings which can be configured. This how-to focus on tweaking the default configuration file for use with Ubuntu 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.

sudo service transmission-daemon stop

edit /var/lib/transmission-daemon/info/settings.json

sudo nano /var/lib/transmission-daemon/info/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.

"rpc-password": "{62b16db87b89a91dd49a5110a7cafc06d20eb4f2wtK6kqPj",
"rpc-username": "transmission",


This must be changed for remote access

rpc-whitelist defines access to transmission. Localhost ( is defined by default. I added ,192.268.*.* to allow any machine on my LAN access.

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

“umask” parameter

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.

"umask": 2,

Transmission Restart

After configuration change, restart transmission

sudo service transmission-daemon start

Default File Directory

Place a torrent file in this directory for automatic file download


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:

sudo usermod -a -G debian-transmission user

NOTE: Change “user” to you own Ubuntu user login name.

NOTE: When adding a user to a new group, the user must log out and log back in for it to take affect. A reboot will also accomplish this.

Transmission Daemon Starting and Stopping

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

sudo service transmission-daemon start
sudo service transmission-daemon stop
sudo service transmission-daemon reload

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.

Bash Aliases

Create shortcuts add the following bash aliases to /home/user/.bash_aliases

sudo nano /home/user/.bash_aliases
alias t-start='sudo service transmission-daemon start'
alias t-stop='sudo service transmission-daemon stop'
alias t-reload='sudo service transmission-daemon reload'
alias t-list='transmission-remote -n 'transmission:transmission' -l'
alias t-basicstats='transmission-remote -n 'transmission:transmission' -st'
alias t-fullstats='transmission-remote -n 'transmission:transmission' -si'
source /home/user/.bash_aliases


user@SVR:~$ t-list

will run

transmission-remote -n ‘transmission:transmission’ -l

Web Interface

With your browser you can now add torrents, download and seed. You can also configure many transmission settings.

0 0 vote
Article Rating