• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

CentOS通过安装davfs2来挂载Dropbox网盘

主机教程 Liam 1年前 (2019-04-28) 366次浏览 6个评论 扫描二维码
文章目录[隐藏]

简介

Dropbox是一个功能强大的同步盘,也是为数不多且提供WEBDAV支持的网盘,Linux系统可以安装davfs2通过webdav的方式来挂载Dropbox,方便存取文件或备份使用。如果您还没有注册Dropbox,可以访问www.dropbox.com注册(请自备梯子,否则无法打开)。

安装davfs2

执行下面的命令:

yum install davfs2 -y 

Dropbox开启webdav支持

这一步被坑了很久,官方也没找到帮助文档,网上说的是webdav地址为:https://dav.dropdav.com/,输入用户名和密码就ok,但实测压根不行啊,正确的做法是:

  • 先到https://www.dropdav.com注册一个账号
  • 授权dropdav访问Dropbox的权限
  • 记录dropdav的账号和密码

挂载Dropbox

上面步骤完成后挂载Dropbox就很简单了,分别执行下面的命令即可。这一步中会要求输入dropdav的账号和密码。

#创建挂载目录 mkdir /home/dropbox #执行挂载命令 mount -t davfs https://dav.dropdav.com/backup /home/dropbox 

上面的命令中https://dav.dropdav.com/backup,后面的backup为您在Dropbox创建的文件夹名字,请根据实际情况修改,看到如下截图后说明挂载成功。
CentOS通过安装davfs2来挂载Dropbox网盘
完成之后将文件存放到/home/dropbox会自动同步到Dropbox,可以达到备份的目的,如下截图。
CentOS通过安装davfs2来挂载Dropbox网盘

总结

由于X墙的原因国内服务器可能无法正常使用Dropbox,或速度缓慢,推荐国外的服务器挂载Dropbox用来备份数据。国内支持WEBDAV的网盘还有坚果云,也可以使用此方法挂载。

原文地址:CentOS通过davfs2挂载Dropbox网盘


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:CentOS通过安装davfs2来挂载Dropbox网盘
喜欢 (0)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(6)个小伙伴在吐槽
  1. Wow! After all I got a weblog from where I be capable of in fact obtain valuable data concerning my study and knowledge. 34pIoq5 cheap flights
    cheap flights2020-08-26 02:49 回复 Mac OS X | Chrome 66.0.3359.181
  2. You can definitely see your skills within the article you write. The world hopes for even more passionate writers like you who are not afraid to say how they believe. At all times follow your heart.
    web hosting company2020-08-25 21:05 回复 Mac OS X | Chrome 66.0.3359.139
  3. My brother recommended I might like this website. He was totally right. This post actually made my day. You cann't imagine simply how much time I had spent for this information! Thanks! y2yxvvfw cheap flights
    cheap flights2020-08-25 11:40 回复 Linux | Chrome 68.0.3398.0
  4. Fantastic items from you, man. I've take into account your stuff prior to and you are simply too great. I really like what you've got here, certainly like what you are stating and the best way in which you assert it. You make it entertaining and you still take care of to keep it sensible. I cant wait to read far more from you. This is really a great web site. 32hvAj4 cheap flights
    cheap flights2020-08-25 01:06 回复 Windows 7 | Internet Explorer 10.0
  5. I've been exploring for a little bit for any high quality articles or weblog posts on this kind of area . Exploring in Yahoo I eventually stumbled upon this website. Reading this information So i am happy to exhibit that I've an incredibly good uncanny feeling I came upon exactly what I needed. I such a lot surely will make certain to do not put out of your mind this site and provides it a look on a constant basis.
    best web hosting company2020-08-11 02:07 回复 Linux | Chrome 66.0.3359.181
  6. Hello I am so happy I found your website, I really found you by mistake, while I was searching on Askjeeve for something else, Anyhow I am here now and would just like to say thank you for a tremendous post and a all round enjoyable blog (I also love the theme/design), I don't have time to look over it all at the minute but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the great job.
    generic cialis2020-06-11 16:12 回复 Windows Vista | Firefox浏览器 3.1b3