5h4d0w.net

The Cat's den

Happy New Year 2020 !

- Posted in Miscellaneous by

Blue Red Fiber Optics

December 31, 2019 - 23:59:59
The year will end when the clocks strike midnight.

In this moment goes not only a year, but also an entire decade. 201X will fade and disappear, as everything always does.
Whatever happened in your Past, keep it in the Past.
It's alright. Just leave it where it belongs, okay ?
Continue to move forward, even if it's hard sometimes.
I wish you good, Friend.

An ending only allows for new beginnings.
Take advantage of it.

Remember, Friend.
The Present is right now.
The Future starts in just a second.

Safe travels, and Happy New Year !

Install radarr on Debian 10

- Posted in SysAdmin Stuff by

radarr logo

What is radarr ?

Radarr is an independent fork of Sonarr reworked for automatic download of movies via Usenet and BitTorrent.
The full capabilities of radarr can be found on GitHub.

How to install radarr on Debian 10 ?

Add the Mono repository to the system

Install the pre-requisite software

apt install apt-transport-https dirmngr gnupg ca-certificates curl mediainfo

Grab the Mono repo keys from the keyserver

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Add the repo to your system

echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list

Refresh the sources

apt update

Install Mono

apt install mono-devel

Install radarr

Create a new user

useradd STUFF STUFF

Change working directory to /tmp/

cd /tmp/

Download latest radarr release from GitHub

wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.1450/Radarr.develop.0.2.0.1450.linux.tar.gz

Extract the downloaded archive to /opt/

tar -xf Radarr* -C /opt/

Grant ownership of the radarr installation to the previously created user

chown -R radarr:radarr /opt/Radarr

Start radarr at boot

Create a systemd service file for the radarr daemon with nano /etc/systemd/system/radarr.service containing :

[Unit]
Description=Radarr Daemon
After=syslog.target network.target

[Service]
User=radarr
Group=radarr
Type=simple
ExecStart=/usr/bin/mono /opt/Radarr/Radarr.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

Enable radarr at boot

systemctl enable radarr.service

Launch the radarr service

systemctl start radarr.service

Access radarr

You should now be able to use your fresh radarr installation by pointing a browser to http://server.ip:7878 !

Add the deluge PPA and update

add-apt-repository ppa:deluge-team/stable && apt-get update

Install the deluge daemon and the WebUI

apt-get install deluged deluge-web -y

Create a new user

adduser --system --group --home /var/lib/deluge deluge

Create a systemd service file for the deluge daemon

nano /etc/systemd/system/deluged.service

Containing :

[Unit]
Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
# Start deluged only after OpenVPN has started
#After=network-online.target openvpn@<provider>.service
After=network-online.target

[Service]
Type=simple
User=deluge
Group=deluge
UMask=007

ExecStart=/usr/bin/deluged -d

Restart=on-failure

# Time to wait before forcefully stopped.
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

Create a systemd service file for the deluge WebUI

nano /etc/systemd/system/deluge-web.service

Containing :

[Unit]
Description=Deluge Bittorrent Client Web Interface
Documentation=man:deluge-web
After=network-online.target

[Service]
Type=simple
User=deluge
Group=deluge
UMask=027

ExecStart=/usr/bin/deluge-web -d

Restart=on-failure

[Install]
WantedBy=multi-user.target

Enable both services at boot

systemctl enable deluged
systemctl enable deluge-web

Start services

systemctl start deluged
systemctl start deluge-web

Access the WebUI

  • http://server.ip:8112

Jellyfin banner Ombi banner

What are Jellyfin and Ombi ?

Jellyfin

Jellyfin is a free program that lets you collect, control, and stream all your favourite media. It's the open-source fork of Emby. Official Jellyfin website

Ombi

Ombi is a self-hosted web application that automatically gives your shared Plex or Emby users the ability to request content by themselves! Ombi can be linked to multiple TV Show and Movie DVR tools to create a seamless end-to-end experience. Official Ombi website

How to install Jellyfin and Ombi on Debian 9 ?

Acquire root privileges

su -

Update server

apt update && apt dist-upgrade -y

Install pre-requisites

apt install apt-transport-https gnupg -y

Add Jellyfin & Ombi repos signatures

wget -qO - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add -
wget -qO - https://repo.ombi.turd.me/pubkey.txt | apt-key add -

Add Jellyfin & Ombi repos

echo "deb [arch=amd64] https://repo.jellyfin.org/debian stretch main" | tee /etc/apt/sources.list.d/jellyfin.list
echo "deb [arch=amd64] http://repo.ombi.turd.me/stable/ jessie main" | tee "/etc/apt/sources.list.d/ombi.list"

Update and install packages

apt update && apt install jellyfin ombi -y

Start services at boot

systemctl enable jellyfin
systemctl enable ombi

Access the services

  • Jellyfin : http://server.ip:8096
  • Ombi : http://server.ip:5000

Hello, Friend

- Posted in Uncategorized by

Hello, Friend. That's lame.
Maybe I should give you a name.
But that's a slippery slope.
You're only in my head.
We have to remember that.