Home » Systems » Ubuntu » Installing SABnzbd in Ubuntu

Installing SABnzbd in Ubuntu

SABnzbd is an open source binary newsreader. You can find the offical SABnzbd website here for more details. Anyways, SABnzbd is written in python and is a fairly light weight application.

If you don’t yet know, using SABnzbd makes Usenet straight forward as it can automate almost anything with the proper configuration along side using other applications for example Sickbeard (TV searches), Couchpotato (Movie Searches) or Headphones (Music Searches).

The fact that it automatically downloads, verifies and repairs files without you having to do a thing makes SABnzbd an ideal choice as a newsreader!

If you get stuck at all during this installation check out the screenshot gallery at the bottom!

What do I need?

A Usenet provider

First thing you need is a Usenet provider, your ISP won’t cut it for this since their retention is typically 30 days or less and won’t have the data you want on their servers either.

Providers:

  • Newshosting here (I recommend Newshosting)
  • Astraweb here
  • Giganews here

I haven’t ever had a problem with Newshosting so I haven’t tried any of the alternatives.

Regardless of which Usenet provider you get you will need to obtain the following information from them:

  • Host (Server you are connecting to)
  • Port (Port’s they have avaialble for you to use)
  • Username (Typically the account you created with them)
  • Password (The password assoicated with your acocunt)
  • Connections (The amount of connections they can handle or you are authorized to use)

A compatible operating system

In this guide I used Ubuntu Server 13.04 but you should be able to use this on any Linux based operating system and be fine. Some of the syntax required may be a bit different but the general idea is the same.

Starting the installation

Repository configuration

First let’s install the requirements for python.

sudo apt-get install python-software-properties

Now we are going to install the repository for SABnzbd.

sudo add-apt-repository ppa:jcfp/ppa

SABnzbd Installation

With the repository installed we can now install SABnzbd itself.

sudo apt-get install sabnzbdplus

This next part isn’t a requirement but it is always nice to create a backup of the original configuration file.

sudo cp /etc/default/sabnzbdplus /home/draalin/sabnzbdplus.orig

Now we are going to edit the configuration file for the user who will run the application upon start up and the host (IP) as well as port associated with this service.

sudo vi /etc/default/sabnzbdplus

The following is my configuration details for my installation. I used the user “draalin" as that is the user in Ubuntu that is going to run the service and the host “0.0.0.0" as I want it run on any IP this machine will have. The port I will use is 8080 as it is the standard port used for SABnzbd. Remember to make sure you save the file after editing it!

user=draalin
host=0.0.0.0
port=8080

Now let’s give the init.d script portion of SABnzbd permissions to launch.

sudo chmod +x /etc/init.d/sabnzbdplus

Now to update the changes we made we need to restart the service.

sudo /etc/init.d/sabnzbdplus start

SABnzbd UI configuration

Browse to the Web UI of your SABnzbd installation, mine was the following as it was on another machine. (You can use any web browser for this, I used chrome.)

http://192.168.1.129:8080

or the following location if it is a local installation.

http://127.0.0.1:8080

Enter the server details for your Usenet hosting, you should have obtained this information earlier! (These are just what I used.)

Host: news.newshosting.com
Port: 443
Username: draalin
Password: password
Connections: 30

Ending Notes

That is pretty much it you have installed SABnzbd! There is a ton of customization you can do through SABnzbd still depending on how you want to run it. If you have any questions ask below or make a post on our forums!

Screenshot gallery for additional support below

This slideshow requires JavaScript.

About Tyler Bailey

Tyler Bailey is a university student who owns and runs draalin.com. Follow me on
  • Test

    On Ubuntu 13 this in the initial steps you also need to run sudo apt-get install software-properties-common otherwise the add-apt-repository command cannot be found

    • draalin

      I assume you are doing it on Ubuntu desktop? It might be a bit different with that.

      On Ubuntu server you shouldn’t need it.

  • James Langbridge

    Great tutorial, thanks! I’ve just moved the server to a dedicated light-weight machine, meaning I can turn off my hungry work machine.

    However, one slight problem. You say to run:

    sudo apt-get install sabznbdplus

    I believe that command line is supposed to be:

    sudo apt-get install sabnzbdplus (inversion of n and z).

    • draalin

      Ah good catch, thanks!

      Happy it helped, minus the mistake.