V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Dropbox - Simplify your life
注册 Dropbox
Dropbox for Developers
Livid
V2EX  ›  Dropbox

最近研究出来的一个 Dropbox 用法

  •  
  •   Livid · 2010-12-05 14:20:49 +08:00 · 7577 次点击
    这是一个创建于 4889 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在 Dropbox 里建立一个顶级目录,然后在里面建立 static.v2ex.com。

    然后在远程的服务器上安装 Dropbox,然后增加一个 nginx 虚拟主机,doc root 指向 ~/Dropbox/Sites/static.v2ex.com ,然后在本地拷贝进去的任何文件,就可以直接通过 static.v2ex.com 访问。

    实在是超级科幻的文件共享方式。
    14 条回复    1970-01-01 08:00:00 +08:00
    Los
        1
    Los  
       2010-12-05 14:25:10 +08:00
    哈,早就这样干。
    Danny
        2
    Danny  
       2010-12-05 14:26:52 +08:00
    可以建立一个纯 html 站
    leeiio
        3
    leeiio  
       2010-12-05 14:52:48 +08:00
    呃,用dropbox代替ftp同步方法确实不错哇
    GordianZ
        4
    GordianZ  
    MOD
       2010-12-05 15:28:45 +08:00
    Livid火星了 -。-
    bruce
        5
    bruce  
       2010-12-05 15:37:12 +08:00
    这个很久就有了 用Dropbox来部署生产环境。
    9hills
        6
    9hills  
       2010-12-05 15:51:29 +08:00
    这个不错~~

    可以和Vimwiki结合到一起建一个wiki站
    MC
        7
    MC  
       2010-12-07 00:52:04 +08:00 via iPhone
    如果同理的话,是否将 http://www.box.net/dav 映射到远程主机,nginx新建一个vhost,将其domain指向其路径会有类似效果?当然数据没有sync,但是不是等于加大了远程主机的空间?不过似乎box的流量不便宜
    ashchan
        8
    ashchan  
       2010-12-07 09:23:11 +08:00
    直接拖到Public目录下,还可以绕过自己host这一步。
    nickyhu
        9
    nickyhu  
       2010-12-07 10:10:50 +08:00
    的确很爽
    linsk
        10
    linsk  
       2010-12-07 11:24:43 +08:00
    9hills
        11
    9hills  
       2010-12-07 11:34:48 +08:00
    @ashchan 这个主要是墙和域名的问题。。
    atempcode
        12
    atempcode  
       2010-12-31 12:47:22 +08:00
    在dreamhost的主机上安装dropbox被警告了:

    Our automated system has come across the following activity under your account
    that is in violation of our Terms of Service. We request that you take any
    necessary action to cease the activity as quickly as possible or we will be
    forced to take further action. If you were not aware of any such activity,
    please feel free to contact support and we can look into the issue further.

    User xxxxxx running "/home/xxxxxxx/.dropbox-dist/dropbox "
    listening on port 17500. Network daemons are against our Terms of
    Service.

    各位有遇到过这个问题吗?
    est
        13
    est  
       2010-12-31 13:10:33 +08:00
    @atempcode dreamhost不允许任何inbound服务的。(但是你可以不被抓住)
    Livid
        14
    Livid  
    MOD
    OP
       2010-12-31 13:11:35 +08:00
    dropbox 为什么要监听端口呢?莫非是为了 lan sync?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3332 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 11:22 · PVG 19:22 · LAX 04:22 · JFK 07:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.