This recipe is for a standard Plex Media server with Sonarr, Radarr, and Sabnzbd running on Debian 10

Install Non-Free Components

sudo vi /etc/apt/sources.list.d/non-free.list

Add the following and save

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

Install Sabnzbd prereqs

sudo aptitude install unrar par2

Install Plex

Download Plex media server from the Plex download page

https://www.plex.tv/media-server-downloads/#plex-media-server

Once you've copied the URL for the linux/arm64 version, download it using:

wget https://downloads.plex.tv/plex-media-server-new/1.16.5.1488-deeb86e7f/debian/plexmediaserver_1.16.5.1488-deeb86e7f_amd64.deb

Install using

sudo dpkg -i plexmediaserver_1.16.5.1488-deeb86e7f_amd64.deb

Once it's installed, add it to the aptitude package manager by uncommenting the last line in /etc/apt/sources.list.d/plexmediaserver.list:

sudo vi /etc/apt/sources.list.d/plexmediaserver.list
# When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
deb https://downloads.plex.tv/repo/deb/ public main

Add the key for the repo to apt

wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -


Update

sudo apt update
sudo apt upgrade


Install Samba

Samba is a convenient way to access your media directory from windows/Mac PCs

sudo apt install samba

Add the samba user

sudo smbpasswd bpopp

Add the following to the samba config at /etc/samba/smb.conf

[media]
comment=Plex Movies
path=/home/media
valid users=@media
public=no
writable=yes

Restart Samba

sudo /etc/init.d/smbd restart

Install SABNZBD

Clone the repo to your home directory:

git clone https://github.com/sabnzbd/sabnzbd.git
cd sabnzbd
git checkout master

To update in the future, run

git pull

Install PIP

sudo apt install python3-pip 

Install requirements

pip install -r requirements.txt

Create Service @ /etc/systemd/system/sabnzbd.service

 [Unit]
Description=SABnzbd Daemon

[Service]
Type=forking
User=bpopp
Group=bpopp
ExecStart=/usr/share/sabnzbd/SABnzbd.py --daemon --config-file=/home/bpopp/.sabnzbd/sabnzbd.ini -s 0.0.0.0:8080
GuessMainPID=no

[Install]
WantedBy=multi-user.target

Install Service

sudo systemctl enable sabnzbd

Install Radarr

Create Service @ /etc/systemd/system/radarr.service

Description=Radarr Daemon

[Service]
Type=simple
User=bpopp
Group=bpopp
ExecStart=/usr/bin/mono /usr/share/radarr/Radarr.exe -nobrowser &
GuessMainPID=no
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

Install the Service

sudo systemctl enable radarr

Install Sonarr

Create Service @ /etc/systemd/system/sonarr.service

[Unit]
Description=Sonarr Daemon

[Service]
Type=simple
User=bpopp
Group=bpopp
ExecStart=/usr/bin/mono /usr/share/sonarr/Sonarr.exe -nobrowser &
GuessMainPID=no
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

Install the Service

sudo systemctl enable sonarr