Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Setup Guides

itsToggle edited this page Nov 29, 2022 · 15 revisions

Linux ARM64 Server Setup

This setup guide will follow the readme closely, but will go into more detail in some areas. This setup will utilize "screens", which are virtual Linux terminals.

Preperation:

  1. open a linux terminal
  2. run apt install screen
  3. run apt install git
  4. install python 3.XX if not present
  5. install pip if not present

Mounting realdebrid:

  1. open a linux terminal
  2. run wget https://github.com/itsToggle/rclone_RD/releases/download/v1.58.1-rd.2.0/rclone-linux-arm64
  3. run chmod u+x ./rclone-linux-arm64
  4. run ./rclone-linux-arm64 config
  5. type n to create a new rclone remote
  6. type realdebrid to name your new remote "realdebrid"
  7. type 47 to choose the remote type "47) realdebrid"
  8. enter your realdebrid API key (https://real-debrid.com/apitoken)
  9. choose "no" when asked for advanced settings
  10. continue through the rest of the prompted instructions.
  11. type q to quit the rclone config menu.
  12. run mkdir torrents
  13. run screen -S rclone to create a new virtual terminal named "rclone"
  14. press enter. You are now in the virtual terminal.
  15. run ./rclone-linux-arm64 mount realdebrid: torrents --dir-cache-time 10s --allow-other
  16. you should see the message "The service rclone has been started"
  17. press ctrl + a and then press d to exit out of the virtual terminal.
  18. run ls torrents to confirm that you can now see the 3 folders "default", "movies" and "shows". If you don't see anything or you get errors, run screen -r rclone to return to your virtual rclone terminal and investigate any errors.
  19. you have successfully mounted realdebrid. You can return to your virtual rclone terminal any time by running screen -r rclone.

Setup Plex:

  1. follow any number of online guides on how to install and start your Plex server. Once the server is running and you have claimed it with your Plex account, follow these steps:
  2. edit your library and server settings as suggested in the plex_debrid readme
  3. open a linux terminal
  4. run chown -R plex:plex torrents
  5. open the Plex webUI
  6. create a new Plex library for movies, add the folders "/torrents/default" and "/torrents/movies"
  7. create a new Plex library for shows, add the folders "/torrents/default" and "/torrents/shows"

Setup plex_debrid:

  1. open a linux terminal
  2. run git clone https://github.com/itsToggle/plex_debrid
  3. run pip install -r ./plex_debrid/requirements.txt
  4. run screen -S plex_debrid to create a new virtual terminal named "plex_debrid"
  5. press enter. You are now in the virtual terminal.
  6. run python ./plex_debrid/main.py
  7. follow the setup instructions
  8. choose option "1) Run" to run the download automation
  9. press ctrl + a and then press d to exit out of the virtual terminal. You can return to the terminal any time by running screen -r plex_debrid

Linux Server Setup

This setup guide will follow the readme closely, but will go into more detail in some areas. This setup will utilize "screens", which are virtual Linux terminals.

Preperation:

  1. open a linux terminal
  2. run apt install screen
  3. run apt install git
  4. install python 3.XX if not present
  5. install pip if not present

Mounting realdebrid:

  1. open a linux terminal
  2. run wget https://github.com/itsToggle/rclone_RD/releases/download/v1.58.1-rd.2.0/rclone-linux
  3. run chmod u+x ./rclone-linux
  4. run ./rclone-linux config
  5. type n to create a new rclone remote
  6. type realdebrid to name your new remote "realdebrid"
  7. type 47 to choose the remote type "47) realdebrid"
  8. enter your realdebrid API key (https://real-debrid.com/apitoken)
  9. choose "no" when asked for advanced settings
  10. continue through the rest of the prompted instructions.
  11. type q to quit the rclone config menu.
  12. run mkdir torrents
  13. run screen -S rclone to create a new virtual terminal named "rclone"
  14. press enter. You are now in the virtual terminal.
  15. run ./rclone-linux mount realdebrid: torrents --dir-cache-time 10s --allow-other
  16. you should see the message "The service rclone has been started"
  17. press ctrl + a and then press d to exit out of the virtual terminal.
  18. run ls torrents to confirm that you can now see the 3 folders "default", "movies" and "shows". If you don't see anything or you get errors, run screen -r rclone to return to your virtual rclone terminal and investigate any errors.
  19. you have successfully mounted realdebrid. You can return to your virtual rclone terminal any time by running screen -r rclone.

Setup Plex:

  1. follow any number of online guides on how to install and start your Plex server. Once the server is running and you have claimed it with your Plex account, follow these steps:
  2. edit your library and server settings as suggested in the plex_debrid readme
  3. open a linux terminal
  4. run chown -R plex:plex torrents
  5. open the Plex webUI
  6. create a new Plex library for movies, add the folders "/torrents/default" and "/torrents/movies"
  7. create a new Plex library for shows, add the folders "/torrents/default" and "/torrents/shows"

Setup plex_debrid:

  1. open a linux terminal
  2. run git clone https://github.com/itsToggle/plex_debrid
  3. run pip install -r ./plex_debrid/requirements.txt
  4. run screen -S plex_debrid to create a new virtual terminal named "plex_debrid"
  5. press enter. You are now in the virtual terminal.
  6. run python ./plex_debrid/main.py
  7. follow the setup instructions
  8. choose option "1) Run" to run the download automation
  9. press ctrl + a and then press d to exit out of the virtual terminal. You can return to the terminal any time by running screen -r plex_debrid

Clone this wiki locally