*** updated 8-8-2007 ***
HOW To – Hellanzbd on SME
Add 1 group :
Hellanzb_group (group name), Domain Hellanzb_group(discription)
Add 1 ibays :
Hellanzb
(php enabled), with read groep write groep (hellanzb) , access entire internet password recuired
login as root ( copy and paste the next lines ):
cd /root
mkdir hellanzb
cd hellanzb
yum install python-devel gcc -y
wget
http://www.hellanzb.com/distfiles/hellanzb-0.13.tar.gztar -xvzf hellanzb-0.13.tar.gz
wget
http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2tar -xvjf Twisted-2.5.0.tar.bz2
wget
http://www.zope.org/Products/ZopeInterface/3.3.0/zope.interface-3.3.0.tar.gztar -xvzf zope.interface-3.3.0.tar.gz
wget
http://downloads.sourceforge.net/zussaweb/zussaweb03.tar.gz?modtime=1163535184&big_mirror=0tar -xvzf zussaweb03.tar.gz
cp -r /root/hellanzb/zussaweb/* /home/e-smith/files/ibays/hellanzb/html/
wget
http://dag.wieers.com/packages/unrar/unrar-3.6.2-1.el4.rf.i386.rpmrpm -Uvh unrar-3.6.2-1.el4.rf.i386.rpm
wget
http://sme.firewall-services.com/downloads/smeserver-backuppc/par2/par2mv -f par2 /usr/bin
chmod +x /usr/bin/par2
signal-event post-upgrade
#signal-event reboot
cd /root/hellanzb
cd zope.interface-3.3.0
python setup.py install
cd ..
cd Twisted-2.5.0
python setup.py install
cd ..
cd hellanzb-0.13
python setup.py install
cd ..
mkdir /opt/hellanzb
mkdir /home/e-smith/files/ibays/hellanzb/files/ready
rm -f /home/e-smith/files/ibays/hellanzb/html/index.html
mkdir /home/e-smith/files/ibays/hellanzb/files/nzbdrop
rm -fr /root/hellanzb
mv /usr/etc/hellanzb.conf.sample /usr/etc/hellanzb.conf
lets edit the configuration
vi /usr/etc/hellanzb.conf
ok, go through the file, enter your newsserver info etc. Then go to this line :
Change the location where we let hellanzb do her work (make sure the directory exists):
# Important locations
Hellanzb.PREFIX_DIR = '/opt/hellanzb/'
# Where to put queued .nzb files
Hellanzb.QUEUE_DIR = '/home/e-smith/files/ibays/hellanzb/files/nzbdrop/'
# Where the fully processed archives go
Hellanzb.DEST_DIR = '/home/e-smith/files/ibays/hellanzb/files/ready/'
Remove # from this line Hellanzb.UMASK = 0022
Hellanzb.XMLRPC_PASSWORD = ‘******’
Set ***** as your password for later.
Save the file,and exit the editor.
ok, now we are all ready to go!
start hellanzb like this:
/usr/bin/hellanzb.py
you should get something like this:
hellanzb v0.13 (config = /usr/etc/hellanzb.conf)
(somename) Opening 4 connections...
hellanzb - Now monitoring queue...
control +c to exit
Oke now you can go to network, find your server,
You can drop nzb in your network dir nzbdrop on hellaready
The ready files are in ready dir on hellaready
Hellanzb works now you can start it as a deamon with :
/usr/bin/hellanzb.py –D
Now its time to setup the webinterface:
edit the settings.php file in the ibay hellanzb/html
$host = 'localhost';
$port = 8760;
$user = 'hellanzb';
$passwd = '******';// enter your password here that i asked you to remember
$disk = '/home/e-smith/files/ibays/hellanzb/files/ready/';
$download_nzb_path = '/home/e-smith/files/ibays/hellanzb/files/nzbdrop';
Know you can login from anywhere with username hellanzb and the password set for the ibay, here you can upload the nzb en see progress bar for hellanzb
Autostart hellanzb in SME
vi /etc/init.d/hellanzb
Put this in te file :
#! /bin/sh
# /etc/init.d/hellanzb
#
# System startup script for Helllanzb
#
case "$1" in
start)
echo -n "Starting Hellanzb."
/usr/bin/hellanzb.py &
;;
stop)
echo -n "Shutting down Hellanzb."
killall hellanzb.py
;;
*)
echo "Usage: $0 {start|stop}"
;;
esac
Save it
chmod 744 /etc/init.d/hellanzb
cd /etc/rc7.d
Check with start number is free S92 if not change this !!!
ln -s /etc/init.d/hellanzb S92hellanzb
Now you can start hellanzb with /usr/bin/hellanzb.py –D
Know if you have to reboot hellanzb wil start op also.
rt op also.