I wrote a previous post on how I got Dropbox working on my DreamHost VPS. It was tricky because the DreamHost VPS had glibc 2.3 and the Dropbox binary needs glibc 2.4.
Those instructions were somewhat complex and I’ve been messing around a bit with Buildout lately, so I thought it would be fun to develop a buildout recipe that automates it. So here you go:
https://github.com/msabramo/dropbox_linux_x86_64_glibc2.4_buildout
This buildout downloads and compiles glibc 2.4 and installs it in a sandbox with the Dropbox software. It also sets up Supervisor and uses it to manage the Dropbox daemon.
Try it and let me know if it works for you. Of course if you find problems or have enhancements, you can fork it and send me pull requests.
Marc,
Thank you very much for the great job you did here, it’s just what needed to run a test with DropBox in my VPS.
I only found a problem and it’s that md5sum changed and I had to edit the buildout.cfg file and it was breaking the whole script execution.
[dropbox]
recipe = hexagonit.recipe.download
url = http://www.dropbox.com/download/?plat=lnx.x86_64
#md5sum = 6c22e7c6d3370512d677d10059b23618
md5sum = a3956852eba85120c741fe914c01d3ad
Perhaps, as the file can change with the time, you could disable that md5sum.
Pingback: Dropbox en mi servidor « Zurco.org
Glad you found it useful Antonio and thanks for the suggestion as well. I just commented out the md5sum in this commit:
https://github.com/msabramo/dropbox_linux_x86_64_glibc2.4_buildout/commit/8e30835b5af35453253196d3ca714c3044732342
I get errors on Dreamhost VPS:
warning: no files found matching ‘Makefile’ under directory ‘docs’
warning: no files found matching ‘indexsidebar.html’ under directory ‘docs’
After install bootstrap.
Creating /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info
error: /usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg-info: Permission denied
An error occurred when trying to install distribute 0.6.24. Look above this message for any errors that were output by easy_install.
While:
Bootstrapping.
Getting distribution for ‘distribute’.
Error: Couldn’t install: distribute 0.6.24