Sabnzbd
From Leo's Notes
Last edited on 14 June 2020, at 23:59.
Sabnzbd is a binary usenet newsreader written in Python. It is capable of downloading and merging binary articles based on a .nzb file.
Installation
CentOS 7
Installation under CentOS 7 is straight forward. Use the setup script below as a guide.
#!/bin/bash
yum -y install epel-release
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
yum -y install par2cmmdline unzip unrar
groupadd -r -g 250 downloaders
adduser -M -d /usr/local/sabnzbd -r -u 251 -g 250 sabnzbd
mkdir /usr/local/sabnzbd
chown sabnzbd:downloaders /usr/local/sabnzbd
su - sabnzbd -c "git clone https://github.com/sabnzbd/sabnzbd.git /usr/local/sabnzbd"
Sabnzbd can be started using a systemd startup script by executing:
# screen -S sabnzbd -dm su - sabnzbd -c "/usr/local/sabnzbd/SABnzbd.py --config-file /home/sabnzbd/data --server 10.1.2.3:8080"
Tip: Serve Sabnzbd on its own domain
You may wish to serve sabnzbd on its own domain such as sabnzbd.example.com. Use the following IPTable rule to forward port 80 to 8080:
iptables -A PREROUTING -t nat -i eno16777736 -p tcp -d 10.1.2.4 --dport 80 -j REDIRECT --to-port 8080
See Also
- http://sabnzbd.org/ - Official Website
|