Install Cloud Based Drives
We are about to install cloud based drives on a Ubuntu 64bit server in a container which as no graphics.
LXC Cloud Container
Create Container
Install a new container using lxc-create named cloud.
-t download option allows choosing the latest images for the container.
Here I've chosen the latest Ubuntu LTS version.
Once created make it auto start by adding the following to configuration file /var/lib/lxc/cloud/.
Container Preparation
For installing the cloud drive software some tools are needed since the container is empty by default.
Install the locale for your country which could be needed.
Set the correct global timezone.
Find a timezone using command timedatectl list-timezones.
Delete default ubuntu user.
Add user with a name of your own choosing using adduser which is the
interactive way of creating a user using a skeleton.
Add the new user to the sudo group.
Using su to act as the newly create user.
DropBox
Installation
Next will download and install the 64bit application in directory .dropbox-dist in the home directory.
The given link must be copied in a browser where the DropBox site will deal with it.
A regular account only allows 3 devices to be connected so maybe you need to disconnect one to make room for this one.
When connected the daemon start syncing the file in the cloud to this device in directory ~/DropBox.
Background Running
To run the daemon at startup is done using the next command which opens a file to the crontab entries.
Enter the following line in the editor which has opened at the bottom.
Now at boot the daemon is started but when it crashes it is not restarted
at only a service or runit service will auto start it.
OneDrive (Microsoft)
This one is easy because there is e
Installation
Install package onedrive from the standard Ubuntu repository.
Curl is needed because that the time of writing the package seems to miss a dependency.
Run the onedrive command and follow copy the link/URL in a browser.
Background Running
To run the daemon at startup is done using the next command which opens a file to the crontab entries.
GoogleDrive
For this I use Grive2 which source is located on GitHub.
To not have to compile this our self a PPA ppa:nilarimogard/webupd8 in installed with a precompiled package is available.
For this we need application add-apt-repository to add PPA's located in the package software-properties-common.
Installation
Install package containing command add-apt-repository.
Install grive using apt.
Create directory.
Run grive in the created directory to get authentication token.
Does not seem to work any more since Google is not allowing this app. Notification "Sign in with Google temporarily disabled for this app"
"This app has not been verified yet by Google in order to use Google Sign In."
Background Running
Under development...