While using your Seedbox you’ve probably faced the following obstacles:
- You don’t have enough local storage to save downloaded data.
- Your local speed is not fast enough to download all content.
- You want to save your content for later use.
All of these you can achieve if you mount Google Drive on your Seedbox! In this tutorial, we will show you how to mount Google Drive with ease, and save your valuable Seedbox content.
This is achieved by a FUSE based file system which makes mounting Google Drive possible on Linux hosts.
1. Login via X2go
Because we need a GUI to accept the authorization – you’ll need to establish a graphical session. But lets first install Ocaml Fuse client so we can start mounting remote drive.
While you are connected via X2go session, open a terminal and type:
sudo add-apt-repository ppa:alessandro-strada/ppa -y
sudo apt-get update && sudo apt-get install google-drive-ocamlfuse
This will install necessary packages and when it is done, type in the terminal:
2. Authorizing your Google Drive
When Ocamlfuse is launched, you will be redirected to authorize your Google account in Firefox, like on the picture.
After you’ve signed in, you need to authorize your account. When authorization is done, you may close the window.
You can check is authorization successful by checking the console from where you’ve initiated authorization request, like this:
[email protected]:~$ google-drive-ocamlfuse
Access token retrieved correctly.
3. Configure your Seedbox to mount Google Drive
We need to create our folders and setup mount points.
To check is the mounting Google Drive successful, we can check it from the terminal.
[email protected]:~$ df -h | grep google google-drive-ocamlfuse
15G 80M 15G 1% /home/user/google-drive
Now you can save your downloaded files to your Google Drive account.
4. Log out
If you wish to remove your associated Google Drive account, we need to umount it.
fusermount -u /home/user/google-drive
If you cannot get speed you want through this way, please try our GoogleDriveCLI version.