~|~ I DO NOT INDORCE TORRENTING COPYRIGHT CONTENT - THIS IS MADE FOR EDUCATIONAL PURPOSES ONLY ~|~
1. Setup your Raspberry
- Install Raspberry OS headless on your SD card and power it up with a screen, ether cable and keyboard
- Enable SSH with
sudo raspi-configand go to Interfaces and enable SSH - Change the password with Option one
sudo raspi-config sudo apt-get updatethensudo apt-get upgrade -y
2. Install qbittorrent-nox
sudo apt-get update && sudo apt-get install qbittorrent-nox- Create a new user
sudo adduser qbtuser sudo nano /etc/systemd/system/qbittorrent.serviceand pase content below
[Unit]
Description=qBittorrent Daemon Service
After=network.target
[Service]
User=qbtuser
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8080
[Install]
WantedBy=multi-user.targetsudo systemctl daemon-reloadthen change usersudo su qbtuserand runqbittorrent-nox- You should now see a message that returns the interfance password
default one: adminadmin - Start the service with
sudo systemctl start qbittorrentand navigate tohttp://192.168.1.167:8080/ - Start on boot
sudo /etc/rc.localand addsudo systemctl start qbittorrent
3. Mount network folder
- Make a new folder
sudo mkdir /mnt/tattoine/file sudo nano /etc/fstaband paste content below (modify after your needs)
//192.168.1.128/file /mnt/tattoine/file cifs username=*USER-HERE*,password=*PASS-HERE*,workgroup=WORKGROUP,dir_mode=0777,file_mode=0777,users,auto,user_xattr 0 0sudo mount /mnt/tattoine/filethensudo reboot -h 0- If needed: mount on boot
sudo nano /etc/rc.localand addsudo mount -a
4. Install Jackett
- Install mono dependencies
sudo apt-get update && sudo apt-get install libmono-cil-dev -y - Go to
https://github.com/Jackett/Jackett/releases/latestand copy the url ofJackett.Binaries.LinuxARM32.tar.gz - Download the file with
wgetand dotar -xvf Jackett* - Make new folder and move all files
sudo mkdir /opt/jackett && sudo mv Jackett/* /opt/jackett - Change ownership
sudo chown -R pi:pi /opt/jackett - Change premissions and run
sudo chmod a+x install_service_systemd.sh && sudo ./install_service_systemd.sh - Start jackett
sudo service jackett start - Start on boot
sudo nano /etc/rc.localand addsudo service jackett startand navigate tohttp://192.168.1.167:9117/
5. Install Sonarr v3 Beta
- Alternative follow the instructions -> https://sonarr.tv/#downloads-v3-linux
- To find out what version of Debian you have do
cat /etc/os-release, I have Debian 10 "buster"
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8add sonarr to your source list
echo "deb https://apt.sonarr.tv/debian buster main" | sudo tee /etc/apt/sources.list.d/sonarr.listDuring the installation, you will be asked which user and group Sonarr must run as.
- In this case i will use pi as my user
sudo apt update && sudo apt install sonarr -y - Start sonarr
sudo service sonarr start - Start on boot
sudo nano /etc/rc.localand addsudo service sonarr startand navigate tohttp://192.168.1.167:8989/
6. unrar Run external program on torrent completion.
- add
unrar x -ibck -inul "%F/*.r*" "%F/"to qbittorent - uncomment the last line of
sudo nano /etc/apt/sources.listand then dosudo apt update sudo apt build-dep unrar-nonfreethensudo apt source -b unrar-nonfree- Then you will get a few .deb files and then do
sudo dpkg -i unrar_5.6.6-1_armhf.deb