Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Download Mount Dropbox as local folder for remote storage on your server

  • Thread starter Thread starter DM 3
  • Start date Start date
D

DM 3

Guest
This is a very simple script to install and mount your Dropbox to '/mnt/dropbox' on your server.

This is great for moving files around but also can be used as remote storage for streaming / VoD content.

Copy the code below into a bash file, name it something like 'dropbox_installer.sh'

Then run the file using
Bash:
sh dropbox_installer.sh

And follow the simple onscreen prompts to authorize the connection.

Bash:
#!/bin/bash
#////////////////////////////////////////////////////////////
#===========================================================
# Dropbox FS Installer for Debian / Ubuntu
#===========================================================
# set environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LOG=/tmp/dropbox_fs.log

# are we running as root
if [ $(id -u) != "0" ]; then
    echo "Installer needs to be run as 'root' user."
    echo "Try again as root."
    exit 1;
fi

# check debian / ubuntu os
if [ -n "$(command -v apt-get)" ]; then
    clear

    # start the installer
    echo "---------------------"
    echo "Installing Dropbox FS"
    echo "---------------------"
    echo " "

    echo "Installing Dependencies."

    sudo apt-get update -y >> $LOG 2>&1

    sudo apt-get install -y libfuse2 >> $LOG 2>&1

    sudo apt-get install -y python3-pip >> $LOG 2>&1

    sudo pip3 install dbxfs >> $LOG 2>&1

    mkdir -p /mnt/dropbox >> $LOG 2>&1

    dbxfs /mnt/dropbox

    echo " "
    echo " "
    echo "----------------"
    echo "Install Complete"
    echo "----------------"
    echo " "
    echo " "
    echo "Now browse /mnt/dropbox and you will see all your files and folders."

else
    echo "Installer only works with Debian / Ubuntu based operating systems."
    echo "Ubuntu 16 / 18 works best."
    echo " "
    exit 1;
fi
 
Last edited by a moderator:
Hi is there a script to mount vps to gsuite or gdrive?
 
mmm I don't see any command to mount after server restart :p Maybe you forgot to edit /etc/fstab ? BTW Nice script.
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
thank you very much
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top