• Home
  • Installing Maraschino / SB / CP / Headphones / SABnzbd on Qnap x86

Installing Maraschino / SB / CP / Headphones / SABnzbd on Qnap x86

Owning a Qnap definitely has some major advantages over some other NAS units including being able to install some greatly beneficial applications for Television shows and Movies to be automatically downloaded to the unit. I wanted a way to be able to manage all the applications from one central console and I found that using Maraschino would work out incredibly well. Here’s how you can get it all working…

Here’s the applications and requisites you’ll need:

  • IPKG req stuff
  • Plex
  • Sickbeard
  • Couchpotato
  • SabNZBD
  • HeadPhones
  • Marachino
  • Putty (For SSH access to the unit)
  • Filezilla

Installing Prerequisites (Installing IPKG)

Install IPKG following the instructions here or use the QPKG Application Centre

http://wiki.qnap.com/wiki/Install_Optware_IPKG

 

Once installed log into your NAS by using Putty as shown:

 

IPKG Installation of Prerequisites (Run each of the following commands on the putty command line):

ipkg update
ipkg upgrade
ipkg install git
ipkg install textutils
ipkg install python26<
ipkg install py26-cheetah
ipkg install nano
ipkg install unrar
ipkg install automake
ipkg install autoconf
ipkg install make
ipkg install bash

 

Installing Plex

Go to http://www.plexapp.com/getplex/

Under NAS Applications you can select QNAP or whatever NAS you’re running.

Download the QPKG and install it using the QPKG Centre. If you’re using QTS 4.0.1 the version of Plex from the application centre is relatively up to date, but using the version directly from Plex’s website is still newer. If you’re using an older version of the QNAP OS, don’t even think about using Plex from the QPKG centre, just download directly from Plex’s website.

 

Installing SABnzbd

SABnzbdplus_130128_x86.rar

Download the QPKG and install it using the QPKG Centre Manual install (This will install the latest version).

Note: you may need to login to the Qnap Forums in order to download the required file.

 

Installing SickBeard

SickBeard_121225.rar

Download the QPKG and install it using the QPKG Centre Manual install (This will install the latest version).

Note: you may need to login to the Qnap Forums in order to download the required file.

 

Installing CouchPotato

CouchPotato2_121229.zip

Download the QPKG and install it using the QPKG Centre Manual install (This will install the latest version).

Note: you may need to login to the Qnap Forums in order to download the required file.

 

Installing HeadPhones

Headphones_130225.rar

Download the QPKG and install it using the QPKG Centre Manual install (This will install the latest version).

Note: you may need to login to the Qnap Forums in order to download the required file.

 

Installing Maraschino

Installing all the applications was the easy part, but the reason why I wrote this entry is how to install Maraschino on the Qnap.

Perform the Following using Putty:

cd /share/MD0_DATA/.qpkg
git clone https://github.com/mrkipling/maraschino.git

Starting Maraschino:

/opt/bin/python2.6 /share/MD0_DATA/.qpkg/maraschino/Maraschino.py -d

Test this works by going to http://<IPADDRESS>:7000/

Auto Starting Maraschino

To add Maraschino to your QKGP center add the Following code:

Edit QPKG config file using vi by typing the following:

vi /etc/config/qpkg.conf

[Maraschino]
Name = Maraschino
Version = 1.0
Author = Maraschino
Date = 2013-05-06
Shell = /share/MD0_DATA/.qpkg/maraschino/autorun.sh
Install_Path = /share/MD0_DATA/.qpkg/maraschino
WebUI = /
Web_Port = 7000
Enable = TRUE

Create a file in /share/MD0_DATA/.qpkg/maraschino/ by doing the following:

Cd /share/MD0_DATA/.qpkg/maraschino/
Touch autorun.sh
Vi autorun.sh

Then copy the following contents:

!/bin/sh
#Start Maraschino
/opt/bin/python2.6 /share/MD0_DATA/.qpkg/maraschino/Maraschino.py -d &

Hit SHIFT+ZZ to save the file and exit.

Set the execute bit:

chmod +x /share/MD0_DATA/.qpkg/maraschino/autorun.sh

Auto run Maraschino Method 2

The first method didn’t work all the time for me as stated by another user on the forums, but this method worked:
http://wiki.qnap.com/w/index.php?title=Running_Your_Own_Application_at_Startup&setlang=zh-cn

QPKG-based method

Log into the NAS using putty and perform the following:

vi /etc/config/qpkg.conf

Declare a new dummy package by adding something like that in this file:

[autorun]
Name = autorun
Version = 0.1
Author = neomilium
Date = 2013-05-06
Shell = /share/MD0_DATA/.qpkg/autorun/autorun.sh
Install_Path = /share/MD0_DATA/.qpkg/autorun
Enable = TRUE
mkdir /share/MD0_DATA/.qpkg/autorun
vi /share/MD0_DATA/.qpkg/autorun/autorun.sh

Then copy the following contents:

!/bin/sh
#Start Maraschino
/opt/bin/python2.6 /share/MD0_DATA/.qpkg/maraschino/Maraschino.py -d &

Set the execute bit:

chmod +x /share/MD0_DATA/.qpkg/autorun/autorun.sh

Apps

Adding QNAP Drive to the Disk Space
Path (required) = /share/MD0_Data/
Name = (whatever you want)
Group = (whatever you want)
Position = (whatever you want)

Disk Space

Conclusion

Leave a Reply

Help spread the word

1456 Greenwood Ct. | Bethlehem, PA 18015 | 484.707.1959 | me@thomaskay.me
©2018 All Rights Reserved. Content may not be used without prior express written consent.