美文网首页
weedfs简单使用

weedfs简单使用

作者: Feng_Sir | 来源:发表于2019-04-19 10:39 被阅读0次

    >weed.exe master -ip=192.168.20.208 -port=9333
    >weed.exe volume -dir="data" -max=5 -mserver="192.168.20.208:9333" -port=8080 -ip=192.168.20.208

    curl http://192.168.20.208:9333/dir/assign
    
    {
        "fid": "3,0f7007667d",
        "url": "192.168.20.208:8080",
        "publicUrl": "192.168.20.208:8080",
        "count": 1
    }
    
    curl -X POST \
      'http://192.168.20.208/3,0f7007667d' \
      -H 'cache-control: no-cache' \
      -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
      -F 'file=@C:\Users\top\Desktop\a3.jpeg'
    
    {
        "name": "a3.jpeg",
        "size": 32040,
        "eTag": "fcdbe83b"
    }
    

    相关文章

      网友评论

          本文标题:weedfs简单使用

          本文链接:https://www.haomeiwen.com/subject/oitqgqtx.html