First a warning
The Raspi is low end hardware: little RAM, little swap, and a low powered CPU. SABnzbd on the other end loves a lot of RAM and higher powered CPU's. So if you run SABnzbd on a Raspi, the performance will not be great: download speed will not be great, and unrarring will take more than time on a modern CPU.
Some facts: during a download, the load average numbers as reported by 'uptime' are like "Sysload: 6.75 | 6.04 | 5.56", meaning the Raspi has a lot of processes waiting to be handled, meaning the Raspi will feel unresponsive and slow.
There are other NZB downloads programs that require less RAM and CPU and therefore could run better on a Raspi.
Install and configure SABnzbd
Log in on your Raspi and install SABnzbd:
Code: Select all
sudo apt-get install sabnzbdplus
Code: Select all
sabnzbdplus --server 0.0.0.0
* If you logged on locally and using the graphical interface (X), then the webbrowser should start up.
* If you are remotely connected to your Raspi (via ssh), and you don't get a webbrowser, you can start the webbrowser from your host PC and point it to http://<ip-address-of-the-Raspi>:8080/, which should show the wizard.
Fill out the wizard. Make sure that in Step 2 you fill out that SABnzbd should be accessible from other PC's on your LAN.
After filling out the wizard, SABnzbd will restart. You should still be able to access it via http://<ip-address-of-the-Raspi>:8080/ . Upload a test .NZB to SABnzbd, and check that it can download it. FYI: the unpacking will not yet work at this stage.
Install unrar
If that works, it is time to install 'unrar'. Withour unrar installed, SABnzbd will say "No UNRAR program found, unpacking RAR files is not possible". Let's solve that.
Strangely enough unrar is not provided by the current Raspbian repositories, so you have to install it from other sources:
The easy, pre-built way from http://www.appelboor.com/dump/unrar-for-raspbian-armhf/
Code: Select all
wget http://www.appelboor.com/dump/unrar-for-raspbian-armhf/unrar_4.1.4-1_armhf.deb
sudo dpkg -i unrar_4.1.4-1_armhf.deb
Code: Select all
echo "deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep unrar-nonfree
sudo apt-get source -b unrar-nonfree
sudo dpkg -i unrar*.deb
Code: Select all
unrar | head
Now you can do a test .NZB which should get completely unrarred and unpacked. If so, SABnzbd is working. That's it. SABnzbd is now functional.UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
Run SABnzbd as a service
If you want SABnzbd to run as a service / daemon and let it automatically start a system start, do this:
Code: Select all
sudo nano /etc/default/sabnzbdplus
Code: Select all
USER=
Code: Select all
USER=pi
Code: Select all
pi@raspberrypi ~ $ sudo service sabnzbdplus start
[ ok ] Starting SABnzbd+ binary newsgrabber:.
pi@raspberrypi ~ $
Attention: starting the sabnzbdplus service on a Raspi takes quite some time (about 30 seconds), so it will slowdown your boot process.
Install bonjour
Last tip: Install bonjour / zeroconf on your Raspi:
Code: Select all
sudo apt-get install libnss-mdns
A plain Windows install will not understand bonjour, but experience shows you can possibly access SAB on the Raspi via the easy URL http://raspberrypi:8080/ . However, this might depend on your modem/router.