PDA

Bekijk de volledige versie : [[HOWTO]] Install nzbget + nzbgetweb (newsgroups downloader)



ocx32
16-12-2008, 22:18
Must have have
asus router (mine is WL-500gp v1)
oleg's firmware v 1.9.2.7-10
wengi tutorial step 1 at 5 include.
http://wl500g.info/showthread.php?t=10307
HeadStart II image, which works with oleg's firmware v 1.9.2.7-10
http://www.wl500g.info/showthread.php?p=112117#post112117


you can desinstall hellanzb and his webapp
i'm not entering details here because you you can leave it if you wan't.

1rst INSTALL NZBGET


ipkg update
ipkg install nzbget


It will install a samle configuration file under /opt/share/doc/nzbget/nzbget.conf.example. Please rename it to nzbget.conf and put it into
/opt/etc/nzbget.conf

You need to set the option "MAINDIR" and one newsserver in configuration file. Please note, that the MAINDIR must exist, it will not be created automatically like other directories.
So you need to set up:
PATHS , NEWS-SERVERS AND CLIENT/SERVER COMMUNICATION sections in the conf file.

Lest's start it with


nzbget -D


1rst INSTALL NZBGETWEB

After that nzbget is working but no web interface yet so
Download it @ http://sourceforge.net/project/showfiles.php?group_id=102632&package_id=271100


extrat it in your WebUI directory ( /mnt/protected/WebUI/ )
open /mnt/protected/WebUI/nzbgetweb/settings.php
And edit red settings


<?php

// option "serverip" from nzbget.conf-file
$serverip = '127.0.0.1';

// option "serverport" from nzbget.conf-file
$serverport = 6789;

// option "serverpassword" from nzbget.conf-file
$serverpassword = 'SAME PASSWORD AS NZBGET.CONF';

// connect timeout in seconds
$connecttimeout = 30;

// username for web-interface. Leave it blank to disable authorization-check
$webusername = 'THE USER YOU WANT';

// password for web-interface.
$webpassword = 'THE PASSWORD YOU WANT';

// set to "true" if you are using thttpd-server on optware,
// where it have problem with http-method "POST".
$webauth_via_GET=False;

// path to check for available disk-space, option "dstdir" from nzbget.conf-file
$dstdir = 'SAME DSTDIR AS YOU NZBGET.CONF';
// Example for windows (all slashes must be doubled):
//$dstdir = 'C:\\';
// Example of samba-share located on linux-server abd accessed from windows:
//$dstdir = '\\\\192.168.1.1\\share$\\download';

// monitoring-directory, option "nzbdir" from nzbget.conf-file
$nzbdir = 'SAME NZBDIR AS YOU NZBGET.CONF';
// Example for windows (all slashes must be doubled):
//$nzbdir = 'C:\\Downloads';
// Example of samba-share located on linux-server abd accessed from windows:
//$nzbdir = '\\\\192.168.1.1\\share$\\download\\nzb';



Save and exit

Go to

http://xxx.xxx.xxx.xxx:8082/protected/WebUI/nzbgetweb/index.php

Enjoy.


Ps: I have problem to load big nzb files ( php restriction rules )
edit /opt/etc/php.ini and change the upload_max_filesize value to 4M.

Want ssl support for your newserver just change in /opt/etc/nzbget.conf

# Encrypted server connection (TLS/SSL) (yes, no)
Server1.Encryption=yes


ipkg update
ipkg install openssl


I think this is a must have into HeadStart II image because it's verry stable.
The hella nzb is unstable especially the queue.


If someone ca help for made nzbget to start automatically after a restart.
Nzbget can verify or not the files with a verry fast par decoder.
There is some tricks to made the files decompress automaticaly !!!