mirror of
https://github.com/stylersnico/mediabox.git
synced 2026-06-04 16:08:31 +02:00
master
MediaBox
Requirements
- Debian 9 or Ubuntu 18.04 target system
- Python
- Sudo
- Ansible
HOW TO
- Clone the repository
git clone https://github.com/flemzord/mediabox.git
- Copy the file containing the variables and adapt it to your needs
cp vars.yml.dist vars.yml && nano vars.yml
- Launch the ansible playbook against the server that will host MediaBox
ansible-playbook play.yml -i "MY_IP,"
- 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:
-
Create your access key and your private key at https://rclone.org/drive/#making-your-own-client-id
-
Launch plexdrive and follow the built-in instructions
plexdrive mount -c /opt/plexdrive -o allow_other /mnt/plexdrive
- Disable the rclone service
systemcl stop rclone && systemctl disable rclone
- Enable the rclone service
systemctl enable plexdrive && systemcl start plexdrive
- Enjoy
MISC
Directory used
- /mnt/unionfs (use local (rw) and rclone (ro))
- /mnt/local
- /mnt/plexdrive
Description
Languages
Jinja
83.2%
Shell
16.8%