hellahella howto - web control panel hellanzb in Ubuntu 6.xx Edgy/Dapper May 12th, 2007

FYI:This guide has been RECENTLY CONSOLIDATED. Instructions for Dapper and Edgy are being combined back into one. Notes: Neither Edgy or Dapper can keep up on the python setuptools required to install hellahella's TRUNK. You must download the ez_setup.py script and use it for install. The ez_setup.py script likes to bomb out, I found that each time it got a bit further so I kept running it. After 4 runs it was able to download all the needed eggs and install them successfully. do this: Optional step) remove python setuptools if you have them installed from packages

apt-get remove python-setuptools python2.4-setuptools
then install subversion:
sudo apt-get install subversion
Then run the following command until it is successful. My experience was that it first choked on Paster setup, then on Cheetah, then on MyghtyUtils. The fourth time I ran it, it made it all the way through. Sweet!
sudo python ez_setup.py -U hellahella==dev
additional tips:: If you get GCC errors when ez_setup tries to compile Cheetah, you can install it from packages and run ez_setup.py again like this:
sudo apt-get install python-cheetah
sudo python ez_setup.py -U hellahella==dev

Finally, hellahella and it's dependancies are installed! Continue to setup:
paster make-config hellahella hella.ini
Then edit hella.ini to setup your hellanzb connection info and login information. The defaults seem to correspond to hellanzb.py 's defaults. Once you've setup hella.ini, you're almost there!
paster setup-app hella.ini
paster serve hella.ini
You now should be able to login to hellahella by opening http://localhost:5000/ in your browser.

hellanzb - automatic one-click nzb in Ubuntu Dapper 6.06 May 12th, 2007

This program is very cool. It handles verification and downloading of nzb files better than anything I’ve seen. This includes downloading par2 files on the fly when needed, and automatically un-compressing all of your downloads.

Here’s how to install it in Ubuntu Dapper.

install the needed ubuntu packages:
sudo apt-get install par2 python-twisted-web
download rar for linux here: RarSoft install it:
tar -xzvf rarlinux-3.6.b6.tar.gz
cd rar
sudo mv rar unrar /usr/bin
download hellanzb. install it:
sudo python setup.py install
configure it:
cd /usr/etc
sudo mv hellanzb.conf.sample hellanzb.conf
sudo gedit /usr/etc/hellanzb.conf

*Update: queue directory explained. By default, hellanzb.py will monitor a queue directory for new .nzb files. It’s a good idea to make this the same directory your browser uses for downloads (so you can one click nzb from your brower). The best way I’ve found to do this is to change your download directory into a symbolic link to the nzb daemon directory.

# Important locations
55      Hellanzb.PREFIX_DIR = '/home/yourhome/hellanzb/'
56
57      # Where to put queued .nzb files
58      Hellanzb.QUEUE_DIR = Hellanzb.PREFIX_DIR + 'nzb/daemon.queue/'
59
60      # Where the fully processed archives go
61      Hellanzb.DEST_DIR = Hellanzb.PREFIX_DIR + 'usenet/'

After running hellanzb.py for the first time, the above directories will be automatically created.

After you change the PREFIX_DIR, you should make a symbolic link to it and set Firefox to download into the directory. For example, create a symbolic link:
ln -s /home/yourhome/hellanzb/nzb/daemon.queue /home/yourhome/download

Then set Firefox to download to /home/yourhome/download. Hellanzb will ignore non .nzb files.

This config will monitor /home/yourhome/download for new .nzbs, and the finished product will go in /home/yourhome/hellanzb/usenet.