I have just acquired a new server to mainly make it an online file storage in prevision of moving to Brazil. To do so, one of the first step is to install Dropbox on this server. You obviously need an existing Dropbox account.
Just to sum up the process to install Dropbox on a Debian install without Desktop environment:
- Get the latest Dropbox Linux client release from the download page (x86 version in my case):
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86"
- Extract the content:
tar -xvzf dropbox.tar.gz
- Start the Dropbox daemon:
- You should see a message with a link to visit (from any computer) to sync this computer with your Dropbox account:
This client is not linked to any account... Please visit https://www.dropbox.com/cli_link?host_id=XXX to link this machine.
- Download the Dropbox Linux tool and add it to your personal bin folder (be sure this folder is in your path) and make it executable:
cd ~/bin wget -O ~/bin/dropbox.py "http://www.dropbox.com/download?dl=packages/dropbox.py" chmod +x ~/bin/dropbox.py
So far you are able to start/stop your Dropbox daemon to sync the local ~/Dropbox folder with the following commands:
If you want to ensure your Dropbox daemon gets started every time your server boots, you’ll have to create a Debian service for this. I recommend you to follow what is explained here.