10th Apr, 2013, 06:00 AM
Hi,
If anyone is interested I've just got the latest NZBget 10.1 compiled and working on my PI. The version in the xbian download package is at version 9.
When installing (from fresh SD install) I made the following notes. Code is downloaded direct from sourceforge and compiled.
Using Xbian 1.0Alpha5 all via SSH console. Other guides I've found on the internet are just not complete - error messages and bits missing. This takes the info I've read and merged into one working list. (Sorry but sources were never noted down)
Login : xbian
Password : raspberry
sudo apt-get update
Remove spaces from below line .....
wget http:// netcologne.dl.sourceforge.net/project/nzbget/nzbget-stable/10.1/nzbget-10.1.tar.gz
tar -xvf nzbget-10.1.tar.gz
rm nzbget-10.1.tar.gz
cd nzbget-10.1
sudo apt-get install libncurses5-dev
sudo apt-get install sigc++
sudo apt-get install libpar2-0-dev
sudo apt-get install libssl-dev
sudo apt-get install libgnutls-dev
sudo apt-get install g++
sudo apt-get install make
sudo apt-get install libxml2-dev
sudo apt-get install subversion
./configure --disable-libpar2-bugfixes-check
sudo make
sudo make install
cd ..
rm -rf nzbget-10.1
sudo nano /etc/nzbget.conf
$MAINDIR=/home/xbian
DestDir=${MAINDIR}/downloads
NzbDir=${MAINDIR}/torrents
QueueDir=${MAINDIR}/incomplete
TempDir=${MAINDIR}/incomplete
LockFile=/tmp/nzbget.lock
LogFile=${DestDir}/nzbget.log
Server1.Level=0
Server1.Host=my1.newsserver.com
Server1.Port=119
Server1.Username=user
Server1.Password=pass
Server1.JoinGroup=yes
Server1.Encryption=no
Server1.Connections=4
WebDir=/usr/local/share/nzbget/webui
ServerIP=0.0.0.0
ServerPort=9092
ServerPassword=
cd /etc/init.d
sudo nano nzbget-daemon
#!/bin/sh
### BEGIN INIT INFO
# Provides: NZBgte
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start NZBget at boot time
# Description: Start NZBget.
### END INIT INFO
case "$1" in
start) echo -n "Start services: NZBget"
/usr/local/bin/nzbget -D
;;
stop) echo -n "Stop services: NZBget"
/usr/local/bin/nzbget -Q
;;
restart)
$0 stop
$0 start
;;
*) echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
sudo chmod 755 /etc/init.d/nzbget-daemon
sudo update-rc.d nzbget-daemon defaults
sudo reboot
WORKS OK - autostarts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://192.168.0.14:9092/ (Your PI ip number)
Login : nzbget
Password : (blank) "OR" default : tegbzn6789
NOTE : blank password if using above but when changing setting via the web it changes to tegbzn6789
Only issue I've came across is error in compiling as below. Any ideas how to remove them? The above still compiles and works though.
ERROR MESSAGE :
checking for libpar2/libpar2.h... yes
checking for library containing _ZN12Par2RepairerC1Ev... -lpar2
checking for libpar2 linking... yes
checking whether libpar2 supports cancelling... no
checking whether libpar2 has recent bugfixes-patch (version 2)... no
configure: error: Your version of libpar2 doesn't include the recent bugfixes-patch (version 2, updated
Dec 3, 2012). Please patch libpar2 with the patches supplied with NZBGet (see README for details).
If you cannot patch libpar2, you can use configure parameter --disable-libpar2-bugfixes-check to
suppress the check. Please note however that in this case the program may crash during par-check/repair.
The patch is highly recommended!
Directories for NZBget
======================
"/usr/local/share/nzbget/nzbget.conf"
"/usr/local/share/nzbget/webui"
Enjoy.
Rich
If anyone is interested I've just got the latest NZBget 10.1 compiled and working on my PI. The version in the xbian download package is at version 9.
When installing (from fresh SD install) I made the following notes. Code is downloaded direct from sourceforge and compiled.
Using Xbian 1.0Alpha5 all via SSH console. Other guides I've found on the internet are just not complete - error messages and bits missing. This takes the info I've read and merged into one working list. (Sorry but sources were never noted down)
Login : xbian
Password : raspberry
sudo apt-get update
Remove spaces from below line .....
wget http:// netcologne.dl.sourceforge.net/project/nzbget/nzbget-stable/10.1/nzbget-10.1.tar.gz
tar -xvf nzbget-10.1.tar.gz
rm nzbget-10.1.tar.gz
cd nzbget-10.1
sudo apt-get install libncurses5-dev
sudo apt-get install sigc++
sudo apt-get install libpar2-0-dev
sudo apt-get install libssl-dev
sudo apt-get install libgnutls-dev
sudo apt-get install g++
sudo apt-get install make
sudo apt-get install libxml2-dev
sudo apt-get install subversion
./configure --disable-libpar2-bugfixes-check
sudo make
sudo make install
cd ..
rm -rf nzbget-10.1
sudo nano /etc/nzbget.conf
$MAINDIR=/home/xbian
DestDir=${MAINDIR}/downloads
NzbDir=${MAINDIR}/torrents
QueueDir=${MAINDIR}/incomplete
TempDir=${MAINDIR}/incomplete
LockFile=/tmp/nzbget.lock
LogFile=${DestDir}/nzbget.log
Server1.Level=0
Server1.Host=my1.newsserver.com
Server1.Port=119
Server1.Username=user
Server1.Password=pass
Server1.JoinGroup=yes
Server1.Encryption=no
Server1.Connections=4
WebDir=/usr/local/share/nzbget/webui
ServerIP=0.0.0.0
ServerPort=9092
ServerPassword=
cd /etc/init.d
sudo nano nzbget-daemon
#!/bin/sh
### BEGIN INIT INFO
# Provides: NZBgte
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start NZBget at boot time
# Description: Start NZBget.
### END INIT INFO
case "$1" in
start) echo -n "Start services: NZBget"
/usr/local/bin/nzbget -D
;;
stop) echo -n "Stop services: NZBget"
/usr/local/bin/nzbget -Q
;;
restart)
$0 stop
$0 start
;;
*) echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
sudo chmod 755 /etc/init.d/nzbget-daemon
sudo update-rc.d nzbget-daemon defaults
sudo reboot
WORKS OK - autostarts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://192.168.0.14:9092/ (Your PI ip number)
Login : nzbget
Password : (blank) "OR" default : tegbzn6789
NOTE : blank password if using above but when changing setting via the web it changes to tegbzn6789
Only issue I've came across is error in compiling as below. Any ideas how to remove them? The above still compiles and works though.
ERROR MESSAGE :
checking for libpar2/libpar2.h... yes
checking for library containing _ZN12Par2RepairerC1Ev... -lpar2
checking for libpar2 linking... yes
checking whether libpar2 supports cancelling... no
checking whether libpar2 has recent bugfixes-patch (version 2)... no
configure: error: Your version of libpar2 doesn't include the recent bugfixes-patch (version 2, updated
Dec 3, 2012). Please patch libpar2 with the patches supplied with NZBGet (see README for details).
If you cannot patch libpar2, you can use configure parameter --disable-libpar2-bugfixes-check to
suppress the check. Please note however that in this case the program may crash during par-check/repair.
The patch is highly recommended!
Directories for NZBget
======================
"/usr/local/share/nzbget/nzbget.conf"
"/usr/local/share/nzbget/webui"
Enjoy.
Rich