January 31, 2013 | Leave a Comment
I use Dropbox to sync, among other things, many of my application and profile settings (.bashrc files for example or Sublime Text preferences). I wanted to synchronize these same files with my Debian server even though it does not have a graphical interface installed. Good news, it’s possible. Yes, Dropbox rocks !
- Download the Dropbox package (select the right download : 32 or 64 bits). In my case, it was 64bits, so I ran
1wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"
- Extract the package
1tar -xvzf dropbox.tar.gz
- Run dropbox
- Now, it gets funny, you need to go through the login and authorization process of your new client. Leave this shell open and running, it should display : This client is not linked to any account… Please visit https://www.dropbox.com/cli_link?host_id=7d44a557aa58f285f2da0x67334d02c1 to link this machine.
- Open another shell
- Using linx, browse to the URL given in the message above
- Enter your login and password in the fields and submit
- On the next page, scroll a little bit and re-confirm your password
- That’s it, your client is connected and will synchronize.
- A dropbox folder will be cerated in /home/
- Now, you migh want your dropbox client to start automatically… you will need to download this file into /etc/init.d/dropbox.
- Edit the third line of the script to enter your linux username
- Start the service with /etc/init.d/dropbox
That should be it. Great work by the Dropbox team to even consider a solution for windowless setups.