Installing Dropbox on a headless linux server

Here are the step to get dropbox working on the linux command line:

cd ~ rm -rf .dropbox* Dropbox
wget http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-0.7.110.tar.gz
tar xzf dropbox-lnx.x86-0.7.110.tar.gz
unset DISPLAY .dropbox-dist/dropbox

You will get a link that you need to copy and paste to your browser (does not need to be on the same machine). After a while little while, kill the process and start it again like this:

nohup .dropbox-dist/dropboxd &

Tested on Debian Squeeze.