Monday, April 22, 2013

Installing the magic 4; Debian, Transmission, SickBeard, and Plex (part 1)

The next series of posts will be about creating your own fully automated Debian tv-show download-and-watch-everywhere center. I've got it all running on the same server as shown in Battle of the languages.

Part 1: Installation of Debian and Transmission
Part 2: Installation of Sickbeard and Plex
Part 3: Configuration

Download the appropiate netinst from http://www.debian.org/distrib/netinst. In our case we will be downloading the amd64 version (to create this tutorial I use a clean install on VMware). If you use a netbook you probably need the i386 version.
Install Debian with nothing selected except the standard system utilities, we only want the console (but if you want, you can always install the desktop environment).


Next-next-next through the setup and finish the installation till you're at the command prompt.

Now add your user to the super user group
$ su
$ apt-get install sudo
$ adduser <yourusername> sudo
$ exit
and install transmission:
$ sudo apt-get install transmission-daemon
$ sudo apt-get install vim
$ sudo vim /etc/transmission-daemon/settings.json
change the following settings (please note that this is not security best practice; use your router to prevent access to your machines from outside your lan):
"ratio-limit-enabled": true,
"rpc-authentication-required": false,
"rpc-whitelist-enabled": false,
and add the following 2 settings at the bottom (before the }) to add a watch directory:
"watch-dir": "/var/lib/transmission-daemon/torrents",
"watch-dir-enabled": true
The following step is to create the watch directory and reload the daemon
$ sudo mkdir /var/lib/transmission-daemon/torrents
$ sudo chown debian-transmission:debian-transmission /var/lib/transmission-daemon/torrents
$ sudo /etc/init.d/transmission-daemon reload
Once everything is done you can validate transmission with your browser by going to: http://<serverip>:9091/transmission/web/
to retrieve the ip of your server run: $ sudo ifconfig


Super easy! In the next post we will install sickbeard and plex!

Cheers,
Luuk

No comments:

Post a Comment