Install Transmission Bittorrent Client Ubuntu 14.x

transmission-bittorrentInstall Transmission Bittorrent Client on Ubuntu 14.x – my favorite client for Linux, Windows and Mac OSX. It is super light and works with all content automation software: Sonarr, SickRage, CouchPotato, Mylar and Headphones. I have found it to be very reliable and easy to set up. This was tested on Ubuntu 14.x.

When you are done since you are of course using a VPN, you can retain remote access behind the VPN with this guide

VPN Service
All Platforms
Number of Connections
Monthly Cost
Annual Cost
Private Internet Access
Yes
5
$6.95
$39.95
($3.33 / month)
Pure VPN
Yes
5
$10.95
$59.95
($4.91 / month)
IPVanish
Yes
5
$10.00
$77.00
($6.41 / month)

Install Transmission Bittorrent Client Ubuntu 14.x

Update packages and add the Transmission Ubuntu repository

echo "deb http://ppa.launchpad.net/transmissionbt/ppa/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/transmission-bt.list
echo "deb-src http://ppa.launchpad.net/transmissionbt/ppa/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/transmission-bt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 365C5CA1
sudo apt-get update
sudo apt-get install transmission-daemon -y

Stop the Transmission service

sudo service transmission-daemon stop

Add the Transmission user to your regular user's group which should prevent permission issues as long as you download to hard drives that are owned by the user's group

sudo usermod -aG username transmission-daemon

You may have a different transmission group, then run this command

sudo usermod -aG username debian-transmission

Also add your user to the transmission group

sudo usermod -aG debian-transmission username

Give the settings file write and execute permissions

sudo chmod 775 /etc/transmission-daemon/settings.json

Open up the configuration file for editing

sudo nano /etc/transmission-daemon/settings.json

Change the following values.
rpc-whitelist allows IP addresses to access the Web interface it has been set to all here. You can also change it to your local home network like 192.168.*.* if you want it to be more secure. However, if you want to be able to access transmission outside your local network then it should be *.*.*.* which represents all IPs.

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

May as well disable the whitelist if you are allowing all IPs

"rpc-whitelist-enabled": false,

Change the remote access username and password to your liking

"rpc-password": "password",
"rpc-username": "username",

Change the download directory to where you want to store your torrent downloads

"download-dir": "/var/lib/transmission-daemon/downloads",

Set the number of active downloads

"download-queue-size": 5,

Set the number of torrents to actively seed

"seed-queue-size": 10,

Set umask to 002 to avoid permission issues, these are equal to 775

"umask": 002,

Ctrl+X, Y and enter to save and restart Transmission

sudo service transmission-daemon restart

Access the Transmission torrent client at http://ip.address:9091 with the username and password you set.