Dropbox install on headless Debian server


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:

  1. 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"
  2. Extract the content:
    tar -xvzf dropbox.tar.gz
  3. Start the Dropbox daemon:
  4. 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.
  5. 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:

  • dropbox.py start
  • dropbox.py stop

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.

Source: http://www.dropboxwiki.com/Text_Based_Linux_Install

One thought on “Dropbox install on headless Debian server

Leave a Reply