Tuesday, April 23, 2013

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

This serie of blog posts will cover the installation of Debian, Transmission, Sickbeard and Plex.

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

Once you've installed Debian and Transmission we're ready to install the really exciting stuff: Plex and Sickbeard.

First we start with Sickbeard:
$ sudo apt-get install python
$ sudo apt-get install python-cheetah
$ wget --no-check-certificate -O SickBeard.tar.gz https://github.com/midgetspy/Sick-Beard/tarball/master
$ tar -xzvf SickBeard.tar.gz
$ sudo mv midgetspy-Sick-Beard-xxxxx /opt/sickbeard
To keep sickbeard running all the time, we install supervisor
$ sudo apt-get install supervisor
$ sudo vim /etc/supervisor/conf.d/sickbeard.conf
and add the following to the sickbeard.conf file:
command=python SickBeard.py
user=<your user name>
stderr_logfile = /var/log/supervisor/sickbeard-err.log
stdout_logfile = /var/log/supervisor/sickbeard-stdout.log
now we have to start sickbeard using the supervisorctl:
$ sudo supervisorctl
> reread
> update sickbeard
> quit
validate if everything is working fine by going to http://<serverip>:8081/home/. We should see the following screen:

Next step is to install Plex. The tutorial below is from the official Plex Debian build.
$ sudo apt-get install curl
$ sudo vim /etc/apt/sources.list
and add "deb http://shell.ninthgate.se/packages/debian squeeze main" to the end of the file.
$ sudo curl http://shell.ninthgate.se/packages/shell-ninthgate-se-keyring.key | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install plexmediaserver
To update Plex (and the rest of your system) simply run the following 2 commands:
$ sudo apt-get update
$ sudo apt-get upgrade
validate if everything is working fine by going to http://<serverip>:32400/web/. We should see the following screen:

Looks like Plex is also working! Super easy!

In the next post we'll configure Sickbeard, Plex and Transmission to fully interact with each other.

Take care!