Files
2026-02-13 22:24:27 +08:00

1 line
16 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"ID":"20250914112948-gsht3bx","Spec":"2","Type":"NodeDocument","Properties":{"id":"20250914112948-gsht3bx","title":"手把手教你用 S3 为笔记软件搭建个人笔记云","type":"doc","updated":"20250914113018"},"Children":[{"ID":"20250914113006-qr89ioa","Type":"NodeHeading","HeadingLevel":1,"Properties":{"id":"20250914113006-qr89ioa","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"手把手教你用 S3 为笔记软件搭建个人笔记云"},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhuanlan.zhihu.com/p/1931365796522735498","TextMarkTextContent":"zhuanlan.zhihu.com"},{"Type":"NodeText","Data":" 咕咚同学爱篮球的软件工程师gudong.site/about"}]},{"ID":"20250914113006-rsywxrh","Type":"NodeParagraph","Properties":{"id":"20250914113006-rsywxrh","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"如今的笔记领域,百花齐放,各种笔记层出不穷,主要是不同人的诉求不一样,其中有一个领域关注者很多:"},{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"数据私有"},{"Type":"NodeText","Data":"。\n这部分用户希望自己的笔记数据控制在自己手里围绕这个需求市面上有很多笔记都支持了配置私有云。\n比如知名的"},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhida.zhihu.com/search?content_id=260724820\u0026amp;content_type=Article\u0026amp;match_order=1\u0026amp;q=%E6%80%9D%E6%BA%90%E7%AC%94%E8%AE%B0\u0026amp;zd_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ6aGlkYV9zZXJ2ZXIiLCJleHAiOjE3NTc5NDkzODUsInEiOiLmgJ3mupDnrJTorrAiLCJ6aGlkYV9zb3VyY2UiOiJlbnRpdHkiLCJjb250ZW50X2lkIjoyNjA3MjQ4MjAsImNvbnRlbnRfdHlwZSI6IkFydGljbGUiLCJtYXRjaF9vcmRlciI6MSwiemRfdG9rZW4iOm51bGx9.EeQh9WnxKBp3rz-DDcMEG6XG3PLFYFtpBn3_aHdEHlw\u0026amp;zhida_source=entity","TextMarkTextContent":"思源笔记"},{"Type":"NodeText","Data":"、"},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhida.zhihu.com/search?content_id=260724820\u0026amp;content_type=Article\u0026amp;match_order=1\u0026amp;q=Obsidian\u0026amp;zd_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ6aGlkYV9zZXJ2ZXIiLCJleHAiOjE3NTc5NDkzODUsInEiOiJPYnNpZGlhbiIsInpoaWRhX3NvdXJjZSI6ImVudGl0eSIsImNvbnRlbnRfaWQiOjI2MDcyNDgyMCwiY29udGVudF90eXBlIjoiQXJ0aWNsZSIsIm1hdGNoX29yZGVyIjoxLCJ6ZF90b2tlbiI6bnVsbH0.8gfqe1t6iihKryT4gJfl2KuvQKRnxj6YNeoltZ1lXM0\u0026amp;zhida_source=entity","TextMarkTextContent":"Obsidian"},{"Type":"NodeText","Data":",还有开源笔记 "},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhida.zhihu.com/search?content_id=260724820\u0026amp;content_type=Article\u0026amp;match_order=1\u0026amp;q=Affine\u0026amp;zd_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ6aGlkYV9zZXJ2ZXIiLCJleHAiOjE3NTc5NDkzODUsInEiOiJBZmZpbmUiLCJ6aGlkYV9zb3VyY2UiOiJlbnRpdHkiLCJjb250ZW50X2lkIjoyNjA3MjQ4MjAsImNvbnRlbnRfdHlwZSI6IkFydGljbGUiLCJtYXRjaF9vcmRlciI6MSwiemRfdG9rZW4iOm51bGx9.tiWS0gVi2RDTmj8t45QhuyJNlE-8UqtfGIMmNe-Sst0\u0026amp;zhida_source=entity","TextMarkTextContent":"Affine"},{"Type":"NodeText","Data":" 以及 AI 笔记软件 "},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhida.zhihu.com/search?content_id=260724820\u0026amp;content_type=Article\u0026amp;match_order=1\u0026amp;q=Dinox\u0026amp;zd_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ6aGlkYV9zZXJ2ZXIiLCJleHAiOjE3NTc5NDkzODUsInEiOiJEaW5veCIsInpoaWRhX3NvdXJjZSI6ImVudGl0eSIsImNvbnRlbnRfaWQiOjI2MDcyNDgyMCwiY29udGVudF90eXBlIjoiQXJ0aWNsZSIsIm1hdGNoX29yZGVyIjoxLCJ6ZF90b2tlbiI6bnVsbH0.gXe0iBMmYBjNPvj25QJmz-cVbpMqcEHyDdK4vSWV4bk\u0026amp;zhida_source=entity","TextMarkTextContent":"Dinox"},{"Type":"NodeText","Data":" 等等,我自己开发的 inBox 笔记作为一款本地笔记,在今年也支持了 S3。\n这样一来尽管笔记 App 是别人开发的,由开发者控制,但是背后的笔记数据可以配置到自己的私有 S3("},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMzIwNzU5NTQ1Mg%3D%3D%26mid%3D2247485252%26idx%3D1%26sn%3Daf9621df7bf2bbee4c01cf81fb6e7aa4%26scene%3D21%23wechat_redirect","TextMarkTextContent":"咚记 0420什么是 S3"},{"Type":"NodeText","Data":") 服务器上,这样就达到了数据自主可控的目的。\n尽管如此在笔记软件里配置 S3 还是要稍微麻烦一点,需要密钥等四五个参数信息,一些用户看到后就望而却步了,所以我打算详细的写一个图文教程,这里以 "},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://zhida.zhihu.com/search?content_id=260724820\u0026amp;content_type=Article\u0026amp;match_order=1\u0026amp;q=%E7%BC%A4%E7%BA%B7%E4%BA%91\u0026amp;zd_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ6aGlkYV9zZXJ2ZXIiLCJleHAiOjE3NTc5NDkzODUsInEiOiLnvKTnurfkupEiLCJ6aGlkYV9zb3VyY2UiOiJlbnRpdHkiLCJjb250ZW50X2lkIjoyNjA3MjQ4MjAsImNvbnRlbnRfdHlwZSI6IkFydGljbGUiLCJtYXRjaF9vcmRlciI6MSwiemRfdG9rZW4iOm51bGx9.mZQdb9f6KRva7M5kQq9996r8w1gKx_yzWajDrXdD6eA\u0026amp;zhida_source=entity","TextMarkTextContent":"缤纷云"},{"Type":"NodeText","Data":" 为例,讲解如何获取参数并进行配置。"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic2.zhimg.com%2Fv2-2bfdbe503a539ab5f6f60fec1f08f107_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n正常配置 S3 需要以下几个关键信息:"}]},{"ID":"20250914113006-3ejsi9t","Type":"NodeList","ListData":{},"Properties":{"id":"20250914113006-3ejsi9t","updated":"20250914113006"},"Children":[{"ID":"20250914113006-fyx65xy","Type":"NodeListItem","ListData":{"BulletChar":42,"Marker":"Kg=="},"Properties":{"id":"20250914113006-fyx65xy","updated":"20250914113006"},"Children":[{"ID":"20250914113006-5mw5vv3","Type":"NodeParagraph","Properties":{"id":"20250914113006-5mw5vv3","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"区域节点地址* 存储桶名称* Access Key* Secret Key\n以 inBox 笔记的 S3 配置为例,信息的对应关系如下,其他笔记软件大差不差。"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpica.zhimg.com%2Fv2-52555925e483d85cf8413e54976d5f3a_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n下面详细说明如何获取以上参数。"}]}]}]},{"ID":"20250914113006-jrtgv6n","Type":"NodeHeading","HeadingLevel":2,"Properties":{"id":"20250914113006-jrtgv6n","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"1、注册账号"}]},{"ID":"20250914113006-sell4ra","Type":"NodeParagraph","Properties":{"id":"20250914113006-sell4ra","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"缤纷云地址为:"},{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://link.zhihu.com/?target=https%3A//www.bitiful.com/","TextMarkTextContent":"https://www.bitiful.com/"},{"Type":"NodeText","Data":" 打开后,先用手机号注册一个新账号"}]},{"ID":"20250914113006-4b8yrxp","Type":"NodeHeading","HeadingLevel":2,"Properties":{"id":"20250914113006-4b8yrxp","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"2、创建存储桶"}]},{"ID":"20250914113006-zaa4har","Type":"NodeParagraph","Properties":{"id":"20250914113006-zaa4har","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"有账号后,打开控制台页面,进入控制台,然后点击左侧的对象存储,点击桶列表"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic3.zhimg.com%2Fv2-10f300b2c6d158b97afab74274282fb2_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n这时桶还是空的我们新建一个桶名字自己随便起一个然后设置为公开这里要注意"}]},{"ID":"20250914113006-kjl3887","Type":"NodeList","ListData":{},"Properties":{"id":"20250914113006-kjl3887","updated":"20250914113006"},"Children":[{"ID":"20250914113006-fvghs7m","Type":"NodeListItem","ListData":{"BulletChar":42,"Marker":"Kg=="},"Properties":{"id":"20250914113006-fvghs7m","updated":"20250914113006"},"Children":[{"ID":"20250914113006-gh5zwtb","Type":"NodeParagraph","Properties":{"id":"20250914113006-gh5zwtb","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"使用时请先为缤纷云充值,可以先充个 10 块钱。* 需要实名认证,根据引导完成实名认证\n"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic2.zhimg.com%2Fv2-21356ec1c06b631e095fe6d0a1f4a80f_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n完成这一步后我们已经获得了 桶名称,就是上面填写的信息。\n创建好后如下图所示"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic4.zhimg.com%2Fv2-c39caa280bc67a3675316a2a44ec92c7_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":""}]}]}]},{"ID":"20250914113006-bjmfp2q","Type":"NodeHeading","HeadingLevel":2,"Properties":{"id":"20250914113006-bjmfp2q","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"3、获取 AccessKey"}]},{"ID":"20250914113006-73a4jus","Type":"NodeParagraph","Properties":{"id":"20250914113006-73a4jus","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"如下图所示,点击侧边栏的 AccessKey这里需要先添加子用户随便命名后添加一个用户添加完成后点击 添加 Key 继续添加 Key。"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpica.zhimg.com%2Fv2-a5aa6cf12d6e3a2723bbe3ccd3bf5eba_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n这个 Key 很关键,这就是缤纷云的访问凭证,这里添加后,会一次性的生成 Access Key 和 Secret Key如下所示"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic1.zhimg.com%2Fv2-d9f9cc426b061d7e327a9c112fcc1986_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n到这一步需要把上面的信息复制然后记录下注意Secret Key 只展示一次,要保管好。\n现在四个关键参数还剩下最后一个区域节点。"}]},{"ID":"20250914113006-ghvkfcg","Type":"NodeHeading","HeadingLevel":2,"Properties":{"id":"20250914113006-ghvkfcg","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"4、获取区域节点"}]},{"ID":"20250914113006-9hhcshy","Type":"NodeParagraph","Properties":{"id":"20250914113006-9hhcshy","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"我们点击桶列表,然后点击我们的桶名称,选择我们自己创建的桶"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic1.zhimg.com%2Fv2-389be5ada36e0b0a8c9da777855ba94e_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n点击后打开桶如下图所示我们选择桶信息打开后就能看到服务端点信息也就是区域节点选择复制至此四个信息都已经完毕。"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic2.zhimg.com%2Fv2-8a61ae2aedeb8bde28eb693fbe5bcdd3_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n将上面的信息分别填入对应的配置页面。"}]},{"ID":"20250914113006-t3qtbl0","Type":"NodeHeading","HeadingLevel":2,"Properties":{"id":"20250914113006-t3qtbl0","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"strong","TextMarkTextContent":"5、重要"}]},{"ID":"20250914113006-9cpc32w","Type":"NodeParagraph","Properties":{"id":"20250914113006-9cpc32w","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"还没有结束,默认咱们的存储桶都是私有的,我们配置还是会失败,其他笔记 App 并不能访问我们自己的缤纷云,我们需要设置为公开访问,如下图所示:"},{"Type":"NodeImage","Data":"span","Children":[{"Type":"NodeBang"},{"Type":"NodeOpenBracket"},{"Type":"NodeLinkText"},{"Type":"NodeCloseBracket"},{"Type":"NodeOpenParen"},{"Type":"NodeLinkDest","Data":"https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fpic3.zhimg.com%2Fv2-600e00d724da96c5d46bf0e04434374e_1440w.jpg\u0026valid=false"},{"Type":"NodeCloseParen"}]},{"Type":"NodeText","Data":"\n至此我们就可以正常配置了配置成功后后续在对应的笔记软件里写完笔记后只要同步所有的笔记数据将会自动同步到咱们自己的云后台这样数据就完全自主可控了。"}]},{"ID":"20250914113006-3eai11c","Type":"NodeThematicBreak","Properties":{"id":"20250914113006-3eai11c","updated":"20250914113006"}},{"ID":"20250914112948-sgww3c6","Type":"NodeParagraph","Properties":{"id":"20250914112948-sgww3c6","updated":"20250914113006"},"Children":[{"Type":"NodeText","Data":"我是咕咚,一个软件工程师,独立开发者,"},{"Type":"NodeTextMark","TextMarkType":"strong a","TextMarkAHref":"https://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMzIwNzU5NTQ1Mg%3D%3D%26mid%3D2247484767%26idx%3D1%26sn%3D8059e39ea50d2afc270577825d9aa218%26scene%3D21%23wechat_redirect","TextMarkTextContent":"inBox 笔记"},{"Type":"NodeText","Data":" 作者,喜欢开发、喜欢篮球,更多介绍见 "},{"Type":"NodeTextMark","TextMarkType":"strong a","TextMarkAHref":"https://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMzIwNzU5NTQ1Mg%3D%3D%26mid%3D2247485504%26idx%3D1%26sn%3De100b895319d3891f1b27450319eea0e%26scene%3D21%23wechat_redirect","TextMarkTextContent":"关于我以及我的公众号"},{"Type":"NodeText","Data":",每天我会在咚记中,分享自己的开发思考和日常感悟,欢迎关注。"}]},{"ID":"20250914113006-qk91u1y","Type":"NodeParagraph","Properties":{"id":"20250914113006-qk91u1y","updated":"20250914113006"},"Children":[{"Type":"NodeTextMark","TextMarkType":"a","TextMarkAHref":"https://cubox.pro/my/card?id=7366561451185540162","TextMarkTextContent":"Read in Cubox"}]}]}