-
-
Notifications
You must be signed in to change notification settings - Fork 11
TD Setup (MediaBox)
- Install Dependencies & Cloudbox Repo
curl -s https://cloudbox.works/scripts/dep.sh | sudo -H sh; curl -s https://cloudbox.works/scripts/repo.sh | bash >/dev/null 2>&1; cd ~/cloudbox
- Edit accounts.yml
https://github.com/Cloudbox/Cloudbox/wiki/Install%3A-accounts.yml
- Run preinstall script
https://github.com/Cloudbox/Cloudbox/wiki/Install%3A-Preinstall
Note: you may have to run it twice
- Install Cloudbox Core
sudo ansible-playbook cloudbox.yml --tags core
Note: you may have to run it twice
- Reboot Server
RGEN rclone setup
cd smount
sudo nano rgen.sh
Add your client ID and secret
client_id=somebody.apps.googleusercontent.com
client_secret=eleventyseven
Run rclone config
and edit each mount to auth the token
Mount Setup
cd smount
sudo nano mountup.sh
USER=seed #user name goes here
GROUP=seed #group name goes here
SET_DIR=./smount/sets
chmod +x mountup.sh
Run the script:
./mountup.sh set.mount
MergerFS Setup
sudo nano /etc/systemd/system/mergerfs.service
Replace this line in the service file:
/mnt/local=RW:/mnt/remote=NC:/mnt/sharedrives/share-drive-name*=RO /mnt/unionfs
sudo systemctl daemon-reload
sudo systemctl restart mergerfs
Check mount:
ls /mnt/unionfs/
cd ~/cloudbox
sudo ansible-playbook cloudbox.yml --tags plex
or
sudo ansible-playbook cloudbox.yml --tags emby