It is currently Sat May 25, 2013 4:55 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: NZBget
PostPosted: Wed Mar 02, 2011 5:58 pm 
Guru Tonidoid
Guru Tonidoid
Joined: Wed Nov 10, 2010 8:04 am
Posts: 148

I took my quite some time but I finally managed to install nzbget + nzbgetweb on my tonido plug.

The reason why I wanted this program is because it has a way better performance then SABnzbd

this is a small guide, where I written down most of my steps (exept for some folders I had to create because I forgot their names).

First of all you have to ssh into your tonidoplug

Then to install nzbget do the following (I installed it in the folder /media/disk1part1/nzbget)
Code:
mkdir /media/disk1part1/nzbget
cd /media/disk1part1/nzbget

wget http://switch.dl.sourceforge.net/project/nzbget/nzbget-stable/0.7.0/nzbget-0.7.0.tar.gz

untar nzbget-0.7.0.tar.gz
now make sure the root files from this tar file are in the nzbget folder and it didn't make a 2nd folder in there like nzbget/nzbget-xxx/. if so move the files to the nzbget folder.


Now install some libaries the program needs:
Code:
sudo apt-get install libxml2-dev
sudo apt-get install libncurses5-dev
sudo apt-get install libsigc++-2.0-dev
sudo apt-get install libpar2-0-dev


Now you can start to compile the program, since it's written in c++
Code:
./configure
make


Now copy the config file to a place where the system will see it:
Code:
cp /media/disk1part1/nzbget/nzbget.conf.example /etc/nzbget.conf


Now edit the config file of nzbget

Code:
nano /etc/nzbget.conf


Now nzbget is installed and should work properly, you can check this by giving the following commandline in ssh

Code:
/media/disk1part1/nzbget/nzbget -D -c /etc/nzbget.conf



Now we will continue to install nzbgetweb, so you can contact with nzbget through your browser.

First we have to disable the relay service:
Code:
Login to your tonidoplug by your web browser, goto Settings -> the tab Network -> and de-select the box behind Enable Relay


Secondly we now have to install lighttpd and php to be able to make a small website:
Code:
sudo apt-get install lighttpd php5-cgi
sudo lighty-enable-mod fastcgi
sudo lighty-enable-mod fastcgi-php
sudo service lighttpd force-reload

To test if it's working create the file /var/www/index.php with the following contents:
Code:
<?php phpinfo(); ?>
and check out http://tonidoip:port/index.php in your browser.


Now download http://garr.dl.sourceforge.net/project/ ... eb-1.4.zip and upzip it's content in /var/www/ (and overwrite the index.php)


Now ssh into your tonidoplug again and do:
Code:
nano /var/www/config.php
and change your settings.


now goto http://yourtonidoip:port
(port wich you set in the conifig file) and if all went correctly you will see nzbgetweb come up


all you gotta do now is configure nzbgetweb from your browser with the nzbget settings.


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: