2018-09-13 11:16:49 +02:00
2018-09-11 21:06:54 +02:00
2018-09-12 18:16:19 +02:00
2018-09-11 23:57:29 +02:00
2018-09-11 21:06:54 +02:00
2018-09-11 22:02:06 +02:00
2018-09-11 21:06:54 +02:00
2018-09-11 21:06:54 +02:00
2018-09-11 21:06:54 +02:00
2018-09-12 18:16:19 +02:00
2018-09-13 11:16:49 +02:00
2018-09-11 21:06:54 +02:00
2018-09-11 23:57:29 +02:00

MediaBox

Build Status

Requirements

  • Debian 9 or Ubuntu 18.04 target system
  • Python
  • Sudo
  • Ansible

HOW TO

  1. Clone the repository

git clone https://github.com/flemzord/mediabox.git

  1. Copy the file containing the variables and adapt it to your needs

cp vars.yml.dist vars.yml && nano vars.yml

  1. Launch the ansible playbook against the server that will host MediaBox

ansible-playbook play.yml -i "MY_IP,"

  1. Your MediaBox is ready to go

Config for plexdrive

The default behavior is to use the local storage of your server. You can target a remote storage using PlexDrive if you need it:

  1. Create your access key and your private key at https://rclone.org/drive/#making-your-own-client-id

  2. Launch plexdrive and follow the built-in instructions

plexdrive mount -c /opt/plexdrive -o allow_other /mnt/plexdrive

  1. Disable the rclone service

systemcl stop rclone && systemctl disable rclone

  1. Enable the rclone service

systemctl enable plexdrive && systemcl start plexdrive

  1. Enjoy

MISC

Directory used

  • /mnt/unionfs (use local (rw) and rclone (ro))
  • /mnt/local
  • /mnt/plexdrive
S
Description
MediaBox is an Ansible playbook for instantly deploying a cloud media server
Readme 74 KiB
Languages
Jinja 83.2%
Shell 16.8%