~|~ 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-config
and go to Interfaces and enable SSH - Change the password with Option one
sudo raspi-config
sudo apt-get update
thensudo 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.service
and 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.target
sudo systemctl daemon-reload
then change usersudo su qbtuser
and runqbittorrent-nox
- You should now see a message that returns the interfance password
default one: adminadmin
- Start the service with
sudo systemctl start qbittorrent
and navigate tohttp://192.168.1.167:8080/
- Start on boot
sudo /etc/rc.local
and addsudo systemctl start qbittorrent
3. Mount network folder
- Make a new folder
sudo mkdir /mnt/tattoine/file
sudo nano /etc/fstab
and 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 0
sudo mount /mnt/tattoine/file
thensudo reboot -h 0
- If needed: mount on boot
sudo nano /etc/rc.local
and 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/latest
and copy the url ofJackett.Binaries.LinuxARM32.tar.gz
- Download the file with
wget
and 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.local
and addsudo service jackett start
and 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 2009837CBFFD68F45BC180471F4F90DE2A9B4BF8
add sonarr to your source list
echo "deb https://apt.sonarr.tv/debian buster main" | sudo tee /etc/apt/sources.list.d/sonarr.list
During 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.local
and addsudo service sonarr start
and 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.list
and then dosudo apt update
sudo apt build-dep unrar-nonfree
thensudo 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