Home / Media Center / Entertainment / Setup Transmission on Ubuntu 12.04 Server
transmission

Setup Transmission on Ubuntu 12.04 Server

Welcome back to Part 4 of the series “How-to setup a fully automated Media Portal“. Next up we will Install a torrent client (Transmission) and the Media Library CouchPotato. After the Installation you will be able to manage your Movies via the Web-Interface of CouchPotato and also automatically schedule downloads through CouchPotato. Transmission will then complete the downloads and in the post Processing activities CouchPotato will rename and move the new Movies into your dedicated Movie File-Structure.

  • Install Transmission
  • configure transmission
  • Install CouchPotato
  • configure Post-Processing

 

Transmission

Transmission is a completely free open-source application for Linux platforms and ideal for Servers with minimal recourses. The transmission web interface is a thin client featured-rich interface with a pleasant design.

Easy: Transmission is designed for easy, powerful use. We’ve set the defaults to “Just Work” and it only takes a few clicks to configure advanced features like watch directories, bad peer blocklists, and the web interface. When Ubuntu chose Transmission as its default BitTorrent client, one of the most-cited reasons was its easy learning curve.

Lean: In separate benchmarks, Linux Format and Lacrocivious both found Transmission to use less CPU than any other GUI client. It even used less CPU than some non-GUI clients. Transmission also has the lowest memory footprint of any major BitTorrent client.

Native: Unlike many cross-platform applications, Transmission integrates seamlessly with your operating system. The Mac OS X interface is written in Objective-C and uses Growl notifications and dock badging to keep you informed. The GTK+ interface has been carefully written to follow the GNOME Human Interface Guidelines. If your desktop supports popup notifications, desktop sounds, and a system tray, the GTK+ interface will make use of them.

Powerful: Transmission has the features you want from a BitTorrent client: encryption, a web interface, peer exchange, magnet links, DHT, µTP, UPnP and NAT-PMP port forwarding, webseed support, watch directories, tracker editing, global and per-torrent speed limits, and more.

Step 1: Install dependencies

first we need to install a couple of dependencies. Go ahead and execute the following command:

 

 

Step 2: add transmission to your repository

Transmission is ready available in Ubuntu repository. However, Ubuntu repository is usually a bit slow on updating versions. Therefore we going to add the PPA repository as described below. Execute the following command:

 

 

and that looks like this:

transmission_ppa

 

 

 

 

 

 

 

Step 3: Install transmission

now lets update the package list and Install transmission with the following commands:

 

 

 

Step 4: setup permissions

transmission has the characteristic to own files with its own user called (debian-transmission). There is many ways how to handle this but I want to make it as easy as possible for the start. So for now we just add our own user to the debian-transmission group. And all future appz will run under that same user so they can access the files. If you want you can create them comfortable via the webmin GUI (under System -> Users and Groups -> local Groups) or just execute the below commands:

 

 

Next change the Ownership of our download folder to reflect the above changes:

 

 

your download folder should now have the permissions as below:

permissions

 

 

Step 5: moving the config file

The transmission config file. is located by default in /etc/transmission-daemon/settings.json. However we are going to move this file to our home-directory because if you restart the transmission-daemon all your saved settings will fall back to default which gets pretty annoying. In order to protect your settings from being accidentally re-written we will store the file in a safe location and creating a symbolic link to it inside /etc/transmission-daemon –  This way, even if Transmission accidentally overwrites settings.json all you have to do is re-create the symbolic link.

First create a new directory in called .config and copy the file over

 

 

Next remove /etc/transmission-daemon/settings.json and create a symbolic link in the /etc/transmission-daemon folder:

 

 

Step 6: Configure transmission

Now we will edit the config file via  ~/.config/transmission-daemon/settings.json. First lets make a Backup.

 

 

Edit the file with your favourite editor

 

 

The default rpc-username and password is “transmission”.

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. Change the following entries: (change the user “frontrow” to whatever user you configured).

 

 

When done add the following for the watch-folder at the end of the file:

 

 

Reminder: don’t place a comma at the end of the file.

json_settings

 

 

 

 

 

 

 

When completed editing save the file and reload the daemon.

 

 

Example settings.json file.

 

 

 

Step 6: starting & stopping transmission

Starting and stopping Transmission daemon is pretty straight forward. You can do so using the following commands:

 

 

Step 7: Shortcuts

For convenience, you could create bash aliases as described in one of my older posts  – for example add the following in your ~/.profile

 

 

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. If Transmission is running, always reload the service.

 

Step 8: Web Interface

Time for a peak at the Web Interface. Open your browser and point it too http://<servername or IP>:9091 and you will get the following screen:

transmission_screeny

 

 

 

 

 

 

 

 

 

 

 

 

Step 9: transmission summary

I have not covered all angles of the configuration but I am sure you will be able to figure them out yourself. For example if you want to make it more secure then change the setting in rpc-whitelist and over only your Subnet. Feel free to change the default port to a non-standard port, also make sure you forward the ports in your Router correctly. Now you should have a working bit-torrent client you can already try it out by manually uploading torrent files. Next up lets install CouchPotato.

 

DISCLAIMER:

This post is for informational purpose only. The Author in no way supports or encourages illegal download of copyrighted material.

 

Check Also

Muse 5 and Rio 3 —Delightful Double dose in Wireless Earphone Technology

Muse 5 and Rio 3—Delightful Double dose in Wireless Earphone Technology

The Muse 5 and Rio 3 are advanced wireless earphones with 3D audio processing designed …