如何在Ubuntu 14服务器上安装Dropbox ?

我按照Dropbox网站上的链接中的步骤操作: https : //www.dropbox.com/install? os = lnx

但是当我运行~/.dropbox-dist/dropboxd没有任何反应……我没有看到消息……我也跟着这个tutoral( http://www.dropboxwiki.com/tips-and-tricks/) install-dropbox-in-an-complete-text-based-linux-environment )和similars但我在输出中看不到任何消息。 我还可以做些什么?

该程序正在执行…它只是卡在终端没有任何消息…它创建目录~/.dropbox-master~/.dropbox ,但没有其他事情发生…

它可能是6个月太晚但我有一个类似的问题,在14.04服务器(没有GUI)上运行dropboxd似乎挂起(没有提供链接)。 不能保证修复是一样的,但这对我有用:

我终于通过返回Dropbox中的版本来解决它。 我替换了他们网站https://www.dropbox.com/install?os=lnx上列出的dropbox wget命令:

 cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - 

使用以前的版本(上面的语句指向3.0.3)

 cd ~ && wget -O - "https://dl.dropboxusercontent.com/u/17/dropbox-lnx.x86_64-2.10.51.tar.gz" | tar xzf - 

在跑步

 ~/.dropbox-dist/dropboxd 

我收到了错误消息:

 Couldn't start Dropbox. This is usually because of a permissions error. Storing your home folder on a network share can also cause an error. Get more help at [cannot post links yet] Please contact Dropbox support with the following info for help: /tmp/dropbox_errorOqCF3h.txt 

在tmp文件的末尾,我找到了

 ImportError: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory 

用a修正了

 sudo apt-get install libgtk2.0-0 

再次运行dropboxd ,我同样发现我缺少libSM.so.6 ,这是用一个修复的

 sudo apt-get install libsm6 

第三次,Dropbox报告

 wx error: Unable to access the X Display, is $DISPLAY set properly? Unable to access the X Display, is $DISPLAY set properly? 

一个小小的谷歌搜索告诉我,跑步

 env - LANG="$LANG" ~/.dropbox-dist/dropboxd & 

会让我走 在此之后,dropbox愉快地给了我一个链接用于连接计算机的Web浏览器

有点乏味,但我似乎正在运行。

尝试清除DISPLAY环境变量。 bash $ export DISPLAY =然后再试一次。

这就是我刚才在Ubuntu Server 15.04上做的工作,因为我在登录的主机上运行了X.