Sick Beard: Difference between revisions
m Text replacement - "Category:Linux " to "Category:Linux{{Navbox Linux}} " |
m Text replacement - "Category:Linux" to "Category:Linux{{Navbox Linux}}" |
||
| Line 128: | Line 128: | ||
* http://sickbeard.com/ - Official Website | * http://sickbeard.com/ - Official Website | ||
[[Category:Linux]]{{Navbox Linux}} | [[Category:Linux]]{{Navbox Linux}}{{Navbox Linux}} | ||
[[Category:Usenet]] | [[Category:Usenet]] | ||
[[Category:Guides]] | [[Category:Guides]] | ||
[[Category:Deprecated]] | [[Category:Deprecated]] | ||
Revision as of 05:08, 1 September 2019
Sick Beard is a web application written in Python that can automatically fetches TV shows from Usenet.
Development has stopped
The development of Sick Beard appears to have stopped. I have since switched to Sonaar which has additional features and better download failure handling.
Installation
I have used Sick Beard on both CentOS 6 and CentOS 7 systems. The installation steps are outlined in this section.
CentOS 7
The installation process under CentOS 7 is very straight forward.
## Install dependencies
# yum -y install python-cheetah pyOpenSSL git wget
## Setup sickbeard user & home directory
# groupadd -r -g 250 downloaders
# adduser -M -d /usr/local/sickbeard -r -u 250 -g 250 sickbeard
# mkdir /usr/local/sickbeard
# chown sickbeard:downloaders /usr/local/sickbeard
# su - sickbeard -c "git clone https://github.com/midgetspy/Sick-Beard.git /usr/local/sickbeard"
Go through the configuration file at /usr/local/sickbeard/config.ini and ensure that web_port and web_host are set properly.
Serve Sick Beard on its own domain
If you are running this on a remote server, you may want to serve Sick Beard on a domain name such as sickbeard.mydomain.com. You may either change theweb_port to port 80, or use IPTables to reroute port 80 to the 8081 using the rule:
iptables -A PREROUTING -t nat -i eno16777736 -p tcp -d 10.1.2.3 --dport 80 -j REDIRECT --to-port 8081
Starting Sick Beard can be done using a systemd startup script which executes:
screen -S sickbeard -dm su - sickbeard -c "/usr/local/sickbeard/SickBeard.py --datadir=/home/sickbeard/data"
CentOS 6
Because the distro packages are too old, you will need to compile some of the dependencies manually. The shell script below should help you get SickBeard set up.
#!/bin/bash
# Install EPEL repo
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# Update system and install dependencies.
yum -y update
yum -y install wget git unzip par2cmdline pyOpenSSL openssl gcc python-devel
#
# Install unrar
#
cd ~
wget http://www.rarlab.com/rar/unrar-linux-x64.gz
gunzip unrar-linux-x64.gz
chmod 755 unrar-linux-x64
mv unrar-linux-x64 /usr/bin/unrar
#
# Install python-yenc
#
cd ~
wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz
tar -xzf yenc-*.tar.gz
cd yenc-0.3
python setup.py install
#
# Install python-cheetah
#
cd ~
wget http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz
tar -zxvf Cheetah-2.4.4.tar.gz
cd Cheetah-2.4.4
python setup.py install
#
# Install SABnzbd
#
cd ~
wget http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus/0.7.13/SABnzbd-0.7.13-src.tar.gz
tar -xzf SABnzbd-0.7.13-src.tar.gz
mv SABnzbd-0.7.13 /usr/share/SABnzbd
useradd -r -M sabnzbd
chown -R sabnzbd:sabnzbd /usr/share/SABnzbd
# Create /etc/init.d/SABnzbd with the contents defined below.
# Create /etc/sysconfig/SABnzbd with the contents below.
cd /usr/share/SABnzbd
sudo -u sabnzbd python SABnzbd.py
# You may ctrl+c out. Running this once will show whether there are any issues.
# If all is good, enable the service:
chkconfig --add SABnzbd
chkconfig --level 234 SABnzbd on
# You might want to check out the .ini file that was generated on the first run at /usr/share/SABnzbd/sabnzbd.ini
#
# Install sickbeard
#
cd ~
git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install
mv my-sickbeard-instal /usr/share/sickbeard
useradd -r -M sickbeard
chown -R sickbeard:sickbeard /usr/share/sickbeard
vi /etc/sysconfig/sickbeard # edit it to contain the contents below.
mv init.fedora /etc/init.d/sickbeard
rm init.*
sudo -u sickbeard python SickBeard.py
# You may ctrl+c out.
# Running this once will show whether there are any issues.
# If all is good, enable the service:
chkconfig --add sickbeard
chkconfig --level 234 sickbeard on
You may configure sick beard by editing the sysconfig file at /etc/sysconfig/sickbeard
SB_USER=sickbeard
SB_HOME=/usr/share/sickbeard
SB_DATA=/usr/share/sickbeard
SB_PIDFILE=/var/run/sickbeard/sickbeard.pid
protocol=http
host=10.1.1.16
port=8081
Troubleshooting
If you have issues starting Sick Beard, ensure that SELinux is disabled.
See Also
- http://sickbeard.com/ - Official Website
Various Linux Notes - /etc/fstab
- Access.conf
- ACL
- Apache Proxy to Internal Server
- APM X-C1 (Mustang)
- ARP
- Authselect
- Bash Scripting
- Blockparser
- Booting Linux without a Graphics Card
- Building Container Images
- Burning CD/DVD in Linux
- Clear RAID Signatures on Linux
- Cobbler
- Colorized Terminal Outputs
- Compiling MIPS
- Configure Sendmail
- CPanel
- CPanel Fork Bomb Protection
- CPU Frequency Scaling
- Create a Linux User with an Empty Password
- Cron and PAM Issues
- Dell OpenManage
- Diff Two Command Outputs
- DirectAdmin
- Disable Filesystem Check on Startup
- DNS Ad Blocker
- Driver Disk
- Drop caches
- End / Home keys don't work in Terminal
- Entropy in the Linux Kernel
- Entropy Source using RTL-SDR
- Exit Codes
- Extract .exe Resources with dd
- File Attributes
- Fixing ixgbe unsupported SFP+ module type was detected
- Get Active Linux Virtual Console
- Getting Hardware UUID
- Hosts.deny
- How to change Linux desktop user directories
- How to hot-swap SATA disks on Linux
- HP Smart Storage Administrator
- Hyper-threading
- IBM Spectrum Archive
- IBM Spectrum Protect
- IBM Tape
- IBM Tape Diagnostic Tool
- InterWorx
- Kerberize NFS
- Kerberize SSH
- Linux Clustering
- Linux Fonts
- Linux Namespaces
- Linux Network Interface Naming
- Linux Nvidia Driver
- Linux Process Accounting
- Linux Uptime in Seconds
- Linux UTF-8 Font
- Mainline Kernel on CentOS 7
- Missing Fonts
- Mod fastcgi Install on Apache 2 / cPanel
- Mod fcgid
- Monitoring network traffic in Linux
- Mounting / Unmounting KVM Image
- Mounting Samba (CIFS) shares
- Multiple Networks on Linux
- MySQL Database with Hash Sign
- No Console Output
- Number of Files Opened
- Open OnDemand
- Packing and unpacking initrd
- PAM Issues
- Partition Alignment
- Patching a binary file with dd
- Perl Module Location
- Raspberry Pi
- Red Hat kickstart
- Red Hat to Debian
- Reverse SSH Tunnel
- Ruby on Rails under cPanel
- Rutorrent + rtorrent Installation Guide on CentOS 6.4
- Self Signed SSL Certificates
- Service Management
- Sick Beard
- StartSSL Free Certificate
- Symlink
- Taking a Screenshot in X11
- Timezone
- Tor
- TOR Transparent Proxy
- Traefik
- Troubleshooting a Slow Linux System
- Turning on swap with a page file
- Udev Rules
- Verify SSL Certificate matches Private Key
- VMware Workstation
- Webcam
- X Display Manipulation
- X Forwarding
Linux Tools and Utilites - Anaconda
- Ansible
- Aria2
- Autofs
- Awk
- Badblocks
- Bash Shell
- Binwalk
- Bosh
- Ceph
- Chntpw
- Chrony
- Clonezilla
- Cloud-init
- CloudStack
- Column
- Cron
- Curl
- Cvs2git
- Date
- Dbus
- Dd
- Dm-crypt
- Dovecot
- DRBD
- ElasticSearch
- Enroot
- Environment Module
- Envsubst
- Fail2ban
- FFmpeg
- Find
- Firecracker
- Flashrom
- Foreman
- FortiClient
- Fswebcam
- Galaxy
- Git
- Gnome
- Gobetween
- GPFS
- Grafana
- Grub
- Hdparm
- Home Assistant
- How to disable SELinux
- Htaccess
- Infiniband
- InfluxDB
- InfluxDB 1.x
- Insert a kickstart file into a iso image
- Inspircd
- IOzone
- Iperf3
- Ipmitool
- Irqbalance
- John The Ripper
- Lightdm
- Lm sensors
- Logrotate
- LSF
- LVM
- Lynx
- Mailx
- Md5sum
- Mdadm
- Midnight Commander
- Motion
- Mount
- Mutt
- Nomad
- OpenLDAP
- Openocd
- OpenSSL
- OpenVPN
- Packer
- PHP
- Pi-hole
- Postgres
- PowerBroker Identity Service
- Proxmox
- Pueue
- PulseAudio
- Puppet
- Quota
- Red Hat Satellite
- Restic
- Rsync
- Rtorrent
- Ruby
- Sabnzbd
- Sage
- Samba
- Screen
- Sed
- SELinux
- Sendmail
- Shell Configs
- Singularity
- Sleep
- Slurm
- SMART
- Sonarr
- Sqlite
- SquashFS
- Squid
- SSH
- Steam
- Stoken
- Strace
- Sudo
- Sync
- Sysctl
- Syslog
- Sysrq
- System Security Services Daemon (SSSD)
- Systemd
- Tar
- Tcsh
- Telegraf
- Terraform
- Thttpd
- Tmux
- Tomcat
- Top
- Umask
- Unix2dos
- Vim
- Virsh
- Virt-customize
- VirtualBox
- VirtualGL
- Visidata
- Vnstat
- Weechat
- Wget
- XFS
- Youtube-dl
- ZFS
- Zram
Package Management Linux Distributions Networking - Blazemeter
- CSF/LFD
- Exim
- Firewall
- FreeIPA
- Get DHCP Network Settings
- IP Aliasing
- Ipset
- IPTables
- IPv6
- IPXE
- Link Aggregation
- Linux Network Namespaces
- MTU
- Net-tools to iproute2
- Netcat
- Open vSwitch
- OpenWRT
- Postfix
- Raspberry Pi Torified Wifi
- Socat
- Static Routes
- StrongSwan
- Tcpdump
- Traffic Forwarder using IPTables
- Wi-Fi
- WireGuard
Containers