Results 61 to 64 of 64

Thread: [How To] Install and Configure Hellanzb

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [How To] Install and Configure Hellanzb

    Hellanzb is (like sabnzbd) a tool for downloading, repairing and unpacking nzb-files from usenet.

    Prerequisites:
    - You need to be using the OLEG optware repository
    - You need to have a swap-file

    The Howto:

    Install the necessary packages:

    Code:
    ipkg update
    
    ipkg install py-hellanzb
      or if you want to use python2.5
    ipkg install py25-hellanzb
    The hellanzb package uses the following defaults:

    Hellanzb.PREFIX_DIR = '/opt/tmp/'
    Hellanzb.LOG_FILE = '/opt/var/log/hellanzb.log'

    If you like it, you only need to enter your news-servers in /opt/etc/hellanz.conf
    Otherwise change those settings aswell.

    The package creates a startup-script S71hellanzb, so you can start it by /opt/etc/init.d/S71hellanzb, or a reboot.

    nzb files go in /opt/tmp/nzb/daemon.queue/, the result comes in /opt/tmp/usenet/

    Default, hellanzb has no Webinterface, so you can track progress by watching the log file, or by installing the webinterface Zussaweb using instructions below. Or you can try to install another interface listed on hellanzb.com.

    Instructions for Zussaweb:

    Code:
    ipkg update
    ipkg install lighttpd
    ipkg install fcgi-php
    Edit /opt/etc/lighttpd/lighttpd.conf and make the following changes:

    Code:
      change
    #                               "mod_fastcgi",
      into
                                    "mod_fastcgi",
    Code:
      change
    url.access-deny             = ( "~", ".inc" )
      into
    url.access-deny             = ( "~", ".inc", ".sqlite" )
    Code:
      change
    #fastcgi.server             = ( ".php" =>
    #                               ( "localhost" =>
    #                                 (
    #                                   "socket" => "/tmp/php-fastcgi.socket",
    #                                   "bin-path" => "/usr/local/bin/php"
    #                                 )
    #                               )
    #                             )
    
      into
    fastcgi.server             = ( ".php" =>
                                   ( "localhost" =>
                                     (
                                       "socket" => "/tmp/php-fastcgi.socket",
                                       "bin-path" => "/opt/bin/php-fcgi"
                                     )
                                   )
                                )
    Now you are ready to start lighttpd by /opt/etc/init.d/S80lighttpd
    Next download and unpack zussaweb:

    Code:
    cd /opt/tmp
    wget http://download.sourceforge.net/sourceforge/zussaweb/zussaweb03.tar.gz
    cd /opt/share/www
    tar -xzvf /opt/tmp/zussaweb03.tar.gz
    Next you need to change the values of $disk and $download_nzb_path in the file /opt/share/www/zussaweb/settings.php

    Finally we need to fix a bug:
    Edit /opt/share/www/zussaweb/functions.php and change:

    Code:
    function freediskspace() {
            return (round (disk_free_space(disk)/1024/1024,2));
    }
    into:
    Code:
    function freediskspace($disk) {
            return (round (disk_free_space($disk)/1024/1024,2));
    }
    Now you can use the interface at http://192.168.1.1:8081/zussaweb/

    Happy leeching
    Last edited by DrChair; 12-01-2009 at 21:42. Reason: lastest lighttpd has changed document-root

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •