{"id":655637,"date":"2025-11-14T17:35:16","date_gmt":"2025-11-14T09:35:16","guid":{"rendered":"http:\/\/puo.cn\/?p=655637"},"modified":"2025-11-14T17:35:16","modified_gmt":"2025-11-14T09:35:16","slug":"%e7%99%be%e5%ba%a6%e7%bd%91%e7%9b%98%e5%ae%a2%e6%88%b7%e7%ab%afvnc%e7%89%88%e6%80%8e%e4%b9%88%e7%94%a8","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=655637","title":{"rendered":"\u767e\u5ea6\u7f51\u76d8\u5ba2\u6237\u7aefVNC\u7248\u600e\u4e48\u7528"},"content":{"rendered":"<p>\u767e\u5ea6\u7f51\u76d8\u5ba2\u6237\u7aef VNC \u7248\u672c\u8d28\u4e0a\u662f\u628a\u5b98\u65b9\u684c\u9762\u5ba2\u6237\u7aef\u201c\u88c5\u8fdb\u201d\u4e86 Docker \u5bb9\u5668\uff0c\u5e76\u5728\u5bb9\u5668\u91cc\u540c\u65f6\u8fd0\u884c VNC \u670d\u52a1\uff0c\u4f7f\u5f97\u7528\u6237\u65e0\u9700\u5728\u672c\u5730\u5b89\u88c5\u767e\u5ea6\u7f51\u76d8\uff0c\u53ea\u8981\u6253\u5f00\u6d4f\u89c8\u5668\uff08\u6216\u4efb\u610f VNC \u67e5\u770b\u5668\uff09\u5c31\u80fd\u8fdc\u7a0b\u64cd\u4f5c\u7f51\u76d8\u754c\u9762\u3002\u5b83\u6700\u5927\u7684\u5356\u70b9\u662f\u201c\u540e\u53f0 7\u00d724 \u5c0f\u65f6\u6302\u673a\u201d\u2014\u2014\u628a\u5bb9\u5668\u90e8\u7f72\u5728 NAS\u3001\u8f6f\u8def\u7531\u3001\u6811\u8393\u6d3e\u3001\u65e7\u7b14\u8bb0\u672c\u7b49\u5e38\u5e74\u4e0d\u5173\u673a\u7684\u8bbe\u5907\u4e0a\uff0c\u8ba9\u4e0b\u8f7d\u3001\u4e0a\u4f20\u3001\u8f6c\u5b58\u3001\u540c\u6b65\u7b49\u4efb\u52a1\u5728\u201c\u65e0\u4eba\u503c\u5b88\u201d\u7684\u72b6\u6001\u4e0b\u6162\u6162\u8dd1\uff0c\u65e2\u7701\u7535\u53c8\u7701\u5fc3\u3002<\/p>\n<p>### \u4e00\u3001\u5b83\u90fd\u80fd\u5e72\u4ec0\u4e48<\/p>\n<p>1. **\u79bb\u7ebf\u4e0b\u8f7d \/ \u6302\u673a\u4e0b\u8f7d**<br \/>\n\u975e\u4f1a\u5458\u4e5f\u80fd\u628a\u901f\u5ea6\u8dd1\u6ee1\u201c\u514d\u8d39\u6863\u201d\uff0c\u5173\u952e\u662f NAS \u4e00\u76f4\u5728\u7ebf\uff0c\u53ef\u4ee5\u901a\u5bb5\u6162\u6162\u62d6\u5b8c\u5927\u6587\u4ef6\uff1b\u4f1a\u5458\u8d26\u53f7\u767b\u5f55\u540e\u540c\u6837\u80fd\u4eab\u53d7\u52a0\u901f\u901a\u9053 \u3002<\/p>\n<p>2. **\u8fdc\u7a0b Web \u64cd\u4f5c**<br \/>\n\u6253\u5f00 `http:\/\/\u8bbe\u5907-IP:5800` \u5c31\u662f\u5b8c\u6574\u7684\u767e\u5ea6\u7f51\u76d8\u684c\u9762\u754c\u9762\uff0c\u4e0a\u4f20\u3001\u5220\u9664\u3001\u91cd\u547d\u540d\u3001\u5206\u4eab\u3001\u8f6c\u5b58\u3001\u5728\u7ebf\u9884\u89c8\u89c6\u9891\/\u56fe\u7247\/\u6587\u6863\u7b49\uff0c\u548c PC \u5ba2\u6237\u7aef\u4e00\u6a21\u4e00\u6837 \u3002<\/p>\n<p>3. **VNC \u5ba2\u6237\u7aef\u64cd\u4f5c\uff08\u53ef\u9009\uff09**<br \/>\n\u5982\u679c\u4e60\u60ef\u7528 VNC Viewer\uff0c\u53ef\u4ee5\u8fde 5900 \u7aef\u53e3\uff0c\u83b7\u5f97\u66f4\u539f\u751f\u7684\u201c\u8fdc\u7a0b\u684c\u9762\u201d\u4f53\u9a8c \u3002<\/p>\n<p>4. **\u591a\u8bbe\u5907\u6587\u4ef6\u4e2d\u8f6c \/ \u540c\u6b65**<br \/>\n\u628a NAS \u6302\u8f7d\u7684\u4e0b\u8f7d\u76ee\u5f55\u901a\u8fc7 SMB\/NFS\/WebDAV \u5171\u4eab\u7ed9\u5c40\u57df\u7f51\uff0c\u624b\u673a\u3001\u5e73\u677f\u3001\u7535\u89c6\u3001\u64ad\u653e\u5668\u5373\u65f6\u89c2\u770b\u521a\u4e0b\u597d\u7684\u5185\u5bb9\uff0c\u5b9e\u73b0\u201c\u4e0b\u8f7d\u2014\u89c2\u770b\u201d\u96f6\u62f7\u8d1d \u3002<\/p>\n<p>5. **\u6570\u636e\u6301\u4e45\u5316 &amp; \u81ea\u52a8\u91cd\u542f**<br \/>\n\u5bb9\u5668\u914d\u7f6e\u4e0e\u4e0b\u8f7d\u76ee\u5f55\u6620\u5c04\u5230\u5bbf\u4e3b\u673a\uff0c\u5373\u4f7f\u91cd\u542f\u3001\u65ad\u7535\uff0c\u4efb\u52a1\u548c\u5df2\u4e0b\u8f7d\u6587\u4ef6\u4e5f\u4e0d\u4f1a\u4e22\u5931\uff1bDocker \u7684 restart=always \u7b56\u7565\u4fdd\u8bc1\u5f02\u5e38\u9000\u51fa\u540e\u81ea\u542f \u3002<\/p>\n<p>6. **\u52a0\u5bc6\u8bbf\u95ee &amp; \u591a\u7528\u6237\u9694\u79bb**<br \/>\n\u7ed9 VNC \u52a0\u5bc6\u7801\u3001\u7ed9\u5bb9\u5668\u8bbe\u72ec\u7acb UID\/GID\uff0c\u540c\u4e00\u53f0 NAS \u4e0a\u53ef\u4e3a\u5bb6\u4eba\u5404\u81ea\u8dd1\u4e00\u5957\u201c\u79c1\u6709\u7f51\u76d8\u201d\u800c\u4e0d\u4e32\u53f7 \u3002<\/p>\n<p>### \u4e8c\u3001\u4e2a\u4eba\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<p>1. **\u5bb6\u7528 NAS \u6302\u673a\u515a**<br \/>\n\u6ca1\u6709\u4f1a\u5458\uff0c\u767d\u5929\u4e0a\u73ed\u7f51\u901f\u7a7a\u95f2\uff0c\u628a 50 GB \u7684 4K \u7eaa\u5f55\u7247\u62d6\u8fdb\u201c\u4e0b\u8f7d\u5217\u8868\u201d\uff0c\u665a\u4e0a\u56de\u5bb6\u76f4\u63a5\u89c2\u770b\uff1bNAS \u786c\u76d8 7\u00d724 \u4f4e\u529f\u8017\u8fd0\u884c\uff0c\u6bd4\u5f00\u7740 300 W \u53f0\u5f0f\u673a\u5212\u7b97\u5f97\u591a \u3002<\/p>\n<p>2. **\u6821\u56ed\u7f51 \/ \u516c\u53f8\u7f51\u201c\u591c\u95f4\u4e0d\u9650\u901f\u201d**<br \/>\n\u5229\u7528\u665a\u4e0a 23:00-08:00 \u514d\u6d41\u65f6\u6bb5\uff0c\u5bb9\u5668\u81ea\u52a8\u628a\u5bfc\u5e08\/\u7532\u65b9\u5206\u4eab\u7684\u767e\u5ea6\u7f51\u76d8\u8d44\u6599\u6574\u5305\u62c9\u56de\u5bbf\u820d\/\u5bb6\u91cc\uff0c\u7b2c\u4e8c\u5929\u672c\u5730\u9ad8\u901f\u53d6\u7528\uff0c\u4e0d\u8d70\u624b\u673a\u6d41\u91cf \u3002<\/p>\n<p>3. **\u6444\u5f71\u5e08 \/ \u8bbe\u8ba1\u5e08\u201c\u7d20\u6750\u4ed3\u5e93\u201d**<br \/>\n\u5ba2\u6237\u5e38\u7528\u767e\u5ea6\u7f51\u76d8\u53d1 RAW\u3001PSD \u5927\u6587\u4ef6\uff0c\u628a VNC \u7248\u6302\u5728\u5de5\u4f5c\u5ba4 NAS\uff0c\u8fdc\u7a0b\u4e00\u952e\u8f6c\u5b58\u2192\u4e0b\u8f7d\u2192SMB \u5171\u4eab\u5230\u5c40\u57df\u7f51 Mac\/PC\uff0c\u65e0\u9700\u6bcf\u53f0\u7535\u8111\u90fd\u88c5\u5ba2\u6237\u7aef \u3002<\/p>\n<p>4. **PT\/\u5f71\u89c6\u7231\u597d\u8005\u201c\u8d44\u6e90\u642c\u8fd0\u201d**<br \/>\n\u5148\u628a\u516c\u5f00\u5f71\u89c6\u5408\u96c6\u8f6c\u5b58\u5230\u81ea\u5df1\u7f51\u76d8\uff0c\u518d\u8ba9\u5bb9\u5668\u6162\u6162\u843d\u76d8\u5230 \u201cdownloads\u201d \u6587\u4ef6\u5939\uff0cEmby\/Plex \u5b9e\u65f6\u76d1\u63a7\uff0c\u4e0b\u5b8c\u81ea\u52a8\u522e\u524a\u5165\u5e93\uff0c\u624b\u673a\u7aef\u7acb\u5373\u80fd\u770b \u3002<\/p>\n<p>5. **\u591a\u5730\u70b9\u529e\u516c\u201c\u6587\u4ef6\u4e2d\u8f6c\u7ad9\u201d**<br \/>\n\u4eba\u5728\u5916\u5730\uff0c\u7528\u7b14\u8bb0\u672c\u6d4f\u89c8\u5668\u8fde\u56de\u5bb6\u4e2d NAS \u7684 5800 \u7aef\u53e3\uff0c\u628a\u73b0\u573a\u62cd\u7684\u89c6\u9891\u76f4\u63a5\u4e0a\u4f20\u5230\u767e\u5ea6\u7f51\u76d8\u5907\u4efd\uff1b\u5bb6\u91cc\u540c\u4e8b\u901a\u8fc7\u7f51\u76d8\u5206\u4eab\u94fe\u63a5\u79d2\u62ff\u5230\u7d20\u6750\uff0c\u5b9e\u73b0\u201c\u4e0a\u4f20\u2014\u5206\u4eab\u201d\u4e00\u6761\u9f99 \u3002<\/p>\n<p>6. **\u65e7\u8bbe\u5907\u518d\u5229\u7528**<br \/>\n\u628a\u5403\u7070\u7684\u6811\u8393\u6d3e 4B \u63d2\u5757\u79fb\u52a8\u786c\u76d8\uff0c\u88c5 Docker \u8dd1 VNC \u7248\u767e\u5ea6\u7f51\u76d8\uff0c\u77ac\u95f4\u5316\u8eab\u201c\u4f4e\u529f\u8017\u79bb\u7ebf\u4e0b\u8f7d\u673a\u201d\uff0c\u987a\u4fbf\u8fd8\u80fd\u8dd1\u4e2a AdGuardHome\u3001qBittorrent\uff0c\u4e00\u4e3e\u591a\u5f97 \u3002<\/p>\n<p>### \u4e09\u3001\u5feb\u901f\u4f53\u9a8c\u6b65\u9aa4\uff08\u4ee5 NAS \u4e3a\u4f8b\uff09<\/p>\n<p>1. \u5728 Docker \u5546\u5e97\u6216\u547d\u4ee4\u884c\u62c9\u955c\u50cf<br \/>\n`docker pull johngong\/baidunetdisk:latest`<\/p>\n<p>2. \u65b0\u5efa\u4e24\u4e2a\u76ee\u5f55<br \/>\n`mkdir -p \/volume1\/baidu\/{config,downloads}`<\/p>\n<p>3. \u4e00\u952e\u542f\u52a8<br \/>\n&#8220;`<br \/>\ndocker run -d &#8211;name baidunetdisk \\<br \/>\n-p 5800:5800 -p 5900:5900 \\<br \/>\n-v \/volume1\/baidu\/config:\/config \\<br \/>\n-v \/volume1\/baidu\/downloads:\/config\/baidunetdiskdownload \\<br \/>\n-e VNC_PASSWORD=123456 \\<br \/>\n&#8211;restart unless-stopped \\<br \/>\njohngong\/baidunetdisk<br \/>\n&#8220;`<\/p>\n<p>4. \u6d4f\u89c8\u5668\u8bbf\u95ee `http:\/\/NAS-IP:5800`\uff0c\u8f93\u5165 VNC \u5bc6\u7801\uff0c\u518d\u767b\u5f55\u767e\u5ea6\u8d26\u53f7\u5373\u53ef\u5f00\u59cb\u8fdc\u7a0b\u4e0b\u8f7d\/\u4e0a\u4f20 \u3002<\/p>\n<p>\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u767e\u5ea6\u7f51\u76d8 VNC \u7248\u5c31\u662f\u628a\u201c\u767e\u5ea6\u7f51\u76d8 PC \u5ba2\u6237\u7aef\u201d\u642c\u5230\u6d4f\u89c8\u5668\u91cc\uff0c\u5e76\u8ba9\u5b83 24 \u5c0f\u65f6\u4e0d\u95f4\u65ad\u8fd0\u884c\uff1b\u53ea\u8981\u4f60\u6709\u4e00\u53f0\u5e38\u5e74\u5728\u7ebf\u7684\u5c0f\u4e3b\u673a \/ NAS\uff0c\u5c31\u80fd\u968f\u65f6\u968f\u5730\u3001\u514d\u88c5\u8f6f\u4ef6\u3001\u4f4e\u529f\u8017\u5730\u5b8c\u6210\u5927\u6587\u4ef6\u4e0b\u8f7d\u3001\u8d44\u6e90\u8f6c\u5b58\u548c\u5907\u4efd\u4efb\u52a1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u767e\u5ea6\u7f51\u76d8\u5ba2\u6237\u7aef VNC \u7248\u672c\u8d28\u4e0a\u662f\u628a\u5b98\u65b9\u684c\u9762\u5ba2\u6237\u7aef\u201c\u88c5\u8fdb\u201d\u4e86 Docker \u5bb9\u5668\uff0c\u5e76\u5728\u5bb9\u5668\u91cc\u540c\u65f6\u8fd0\u884c VNC \u670d\u52a1\uff0c\u4f7f\u5f97\u7528\u6237\u65e0\u9700\u5728\u672c\u5730\u5b89\u88c5\u767e\u5ea6\u7f51\u76d8\uff0c\u53ea\u8981\u6253\u5f00\u6d4f\u89c8\u5668\uff08\u6216\u4efb\u610f VNC \u67e5\u770b\u5668\uff09\u5c31\u80fd\u8fdc\u7a0b\u64cd\u4f5c\u7f51\u76d8\u754c\u9762\u3002\u5b83\u6700\u5927\u7684\u5356\u70b9\u662f\u201c\u540e\u53f0 7\u00d724&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141],"tags":[942,899,765],"topic":[],"class_list":["post-655637","post","type-post","status-publish","format-standard","hentry","category-tools-soft","tag-vnc","tag-899","tag-765"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/655637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=655637"}],"version-history":[{"count":1,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/655637\/revisions"}],"predecessor-version":[{"id":655638,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/655637\/revisions\/655638"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=655637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=655637"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=655637"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=655637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}