Install SABnzbd on Unix
Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself. It does come with Python 2.4, which is OK for SABnzbd. Some extra packages are available if you allow access to the unofficial Dag Wieers repository:
user@server:$ rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Required compiler stuff:
user@server:$ yum install gcc gcc-c++ python-devel
PyOpenSSL
user@server:$ yum install pyOpenSSL
Cheetah
user@server:$ yum install python-cheetah
OR
user@server:$ wget http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz
gzip zxf Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py install # Need to do this as admin
cd ..
gzip zxf Cheetah-2.0.1.tar.gz
cd Cheetah-2.0.1
python setup.py install # Need to do this as admin
cd ..
YEnc
user@server:$ wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz
tar zxf yenc-0.3.tar.gz
cd yenc-0.3
python setup.py install # Need to do this as admin
cd ..
tar zxf yenc-0.3.tar.gz
cd yenc-0.3
python setup.py install # Need to do this as admin
cd ..
par2cmdline
user@server:$ wget http://garr.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz
wget http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch
tar zxf par2cmdline-0.4.tar.gz
cd par2cmdline-0.4
patch < ../par2cmdline-0.4-gcc4.patch reedsolomon.cpp
./configure
make
make check
make install # Need to do this as admin
cd ..
wget http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch
tar zxf par2cmdline-0.4.tar.gz
cd par2cmdline-0.4
patch < ../par2cmdline-0.4-gcc4.patch reedsolomon.cpp
./configure
make
make check
make install # Need to do this as admin
cd ..
unrar
user@server:$ yum install unrar
OR
user@server:$ wget http://www.rarlab.com/rar/unrar-3.7.7-centos.gz
gzip -d unrar-3.7.7-centos.gz
chmod +x unrar-3.7.7-centos
cp unrar-3.7.7-centos /usr/bin/unrar # Need to do this as admin
gzip -d unrar-3.7.7-centos.gz
chmod +x unrar-3.7.7-centos
cp unrar-3.7.7-centos /usr/bin/unrar # Need to do this as admin
Feedparser
user@server:$ wget http://feedparser.googlecode.com/files/feedparser-4.1.zip
mkdir feedparser-4.1
cd feedparser-4.1
unzip ../feedparser-4.1.zip
python setup.py install # Need to do this as admin
cd ..
mkdir feedparser-4.1
cd feedparser-4.1
unzip ../feedparser-4.1.zip
python setup.py install # Need to do this as admin
cd ..
SABnzbd itself
user@server:$ wget http://switch.dl.sourceforge.net/sourceforge/sabnzbdplus/SABnzbd-0.4.6-src.tar.gz
tar zxf SABnzbd-0.4.6-src.tar.gz
cd SABnzbd-0.4.6
# pre-compile optimized
python -OO SABnzbd.py -v
cd ..
tar zxf SABnzbd-0.4.6-src.tar.gz
cd SABnzbd-0.4.6
# pre-compile optimized
python -OO SABnzbd.py -v
cd ..
Start SABnzbd
user@server:$ ./SABnzbd.py -s 0.0.0.0:8080
Article Source: CentOS 5.2 (will work for RedHat 5 too)
Ubuntu Server 8.04
ClarkConnect 4.2 Community Edition
For more information: look here.
