{"id":81470,"date":"2026-07-25T02:17:16","date_gmt":"2026-07-24T18:17:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81470.html"},"modified":"2026-07-25T02:17:16","modified_gmt":"2026-07-24T18:17:16","slug":"code-server-%e4%bd%93%e9%aa%8c%ef%bc%9a%e4%b8%80%e8%a1%8c%e5%91%bd%e4%bb%a4%e6%8a%8a-vs-code-%e8%b7%91%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%ef%bc%8c%e9%9a%8f%e6%97%b6%e7%94%a8%e6%b5%8f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81470.html","title":{"rendered":"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>code-server \u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898\u662f&#xff1a;\u8ba9\u4f60\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u91cc\u7528\u4e0a\u5b8c\u6574\u7684 VS Code\u3002<\/p>\n<p>\u5b83\u7684\u539f\u7406\u4e0d\u590d\u6742\u2014\u2014VS Code \u672c\u8eab\u662f Electron \u5e94\u7528&#xff0c;code-server \u628a\u8fd9\u5c42\u684c\u9762 UI \u6362\u6210 Web \u670d\u52a1\u7aef\u6e32\u67d3&#xff0c;\u4ee3\u7801\u5b9e\u9645\u8dd1\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u6d4f\u89c8\u5668\u53ea\u8d1f\u8d23\u663e\u793a\u548c\u4ea4\u4e92\u3002\u76f8\u5f53\u4e8e\u628a&#034;\u5f00\u53d1\u73af\u5883&#034;\u4ece\u672c\u5730\u62bd\u79bb\u51fa\u6765&#xff0c;\u53d8\u6210\u4e00\u4e2a\u53ef\u4ee5\u901a\u8fc7 URL \u8bbf\u95ee\u7684\u670d\u52a1\u3002<\/p>\n<p>\u5b9e\u9645\u7528\u4e0b\u6765&#xff0c;\u5b83\u9002\u5408\u4e24\u7c7b\u573a\u666f&#xff1a;<\/p>\n<p>\u4e00\u662f\u91cd\u5ea6\u8fdc\u7a0b\u5f00\u53d1\u3002\u6bd4\u5982\u4f60\u6709\u4e00\u53f0\u9ad8\u914d\u670d\u52a1\u5668\u653e\u7740\u8dd1\u6a21\u578b\u3001\u7f16\u8bd1\u5927\u578b\u9879\u76ee&#xff0c;\u4f46\u4eba\u53ef\u80fd\u5728\u5916\u9762&#xff0c;\u7528\u7b14\u8bb0\u672c\u6216 iPad \u4e34\u65f6\u8fde\u4e0a\u53bb\u5199\u4ee3\u7801\u3002code-server \u8dd1\u5728\u670d\u52a1\u5668\u4e0a&#xff0c;\u672c\u5730\u8bbe\u5907\u53ea\u4f5c\u4e3a\u7ec8\u7aef&#xff0c;\u4e0d\u7528\u628a\u4ee3\u7801\u540c\u6b65\u8fc7\u6765\u518d\u540c\u6b65\u56de\u53bb\u3002<\/p>\n<p>\u4e8c\u662f\u56e2\u961f\u7edf\u4e00\u5f00\u53d1\u73af\u5883\u3002\u7ed9\u65b0\u6210\u5458\u5206\u914d\u673a\u5668\u65f6&#xff0c;\u4e0d\u7528\u9010\u53f0\u914d\u73af\u5883&#xff0c;\u76f4\u63a5\u7ed9\u4e00\u4e2a code-server \u5730\u5740&#xff0c;\u8fde\u4e0a\u5c31\u80fd\u5f00\u59cb\u5199&#xff0c;\u9884\u88c5\u7684\u63d2\u4ef6\u548c\u914d\u7f6e\u90fd\u5728\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<p>Docker \u90e8\u7f72\u4e00\u6761\u547d\u4ee4\u80fd\u8d77&#xff0c;\u6700\u5c0f\u914d\u7f6e\u6210\u672c\u4e0d\u9ad8\u3002\u9700\u8981\u6ce8\u610f\u7684\u7ec6\u8282\u662f\u5bc6\u7801\u8ba4\u8bc1\u9ed8\u8ba4\u5f00\u542f&#xff0c;\u5bc6\u7801\u5728\u542f\u52a8\u547d\u4ee4\u91cc\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u4f20\u5165&#xff0c;\u5efa\u8bae\u751f\u6210\u968f\u673a\u5b57\u7b26\u4e32\u800c\u4e0d\u662f\u7528&#034;123456&#034;\u8fd9\u79cd\u5f31\u5bc6\u7801\u3002<\/p>\n<p>\u5c40\u9650\u65b9\u9762&#xff1a;\u6d4f\u89c8\u5668\u91cc\u7684 VS Code \u4f53\u9a8c\u548c\u684c\u9762\u7aef\u6bd4\u8fd8\u662f\u6709\u5dee\u8ddd&#xff0c;\u5c24\u5176\u662f\u63d2\u4ef6\u5bf9 GUI \u4ea4\u4e92\u4f9d\u8d56\u8f83\u91cd\u7684\u65f6\u5019&#xff1b;\u957f\u65f6\u95f4\u5728\u6d4f\u89c8\u5668\u91cc\u5199\u4ee3\u7801&#xff0c;\u773c\u775b\u8d1f\u62c5\u6bd4\u684c\u9762\u7aef\u66f4\u5927&#xff1b;\u53e6\u5916\u5185\u5b58\u5360\u7528\u4e0d\u4f4e&#xff0c;\u6bd5\u7adf\u670d\u52a1\u7aef\u8981\u8dd1\u4e00\u4e2a\u5b8c\u6574\u7684 VS Code \u8fdb\u7a0b\u3002<\/p>\n<p>\u672c\u6587\u5c06\u5e26\u4f60\u4ece\u96f6\u5f00\u59cb&#xff0c;\u57fa\u4e8eDocker\u5feb\u901f\u90e8\u7f72code-server&#xff0c;\u642d\u5efa\u4e00\u4e2a\u5b89\u5168\u3001\u53ef\u6301\u4e45\u5316\u3001\u968f\u65f6\u53ef\u7528\u7684\u7f51\u9875\u7248VS Code\u5f00\u53d1\u73af\u5883\u3002\u65e0\u8bba\u4f60\u662f\u4e2a\u4eba\u5f00\u53d1\u8005\u3001\u6559\u80b2\u5de5\u4f5c\u8005&#xff0c;\u8fd8\u662fDevOps\u5de5\u7a0b\u5e08&#xff0c;\u53ea\u9700\u51e0\u5206\u949f&#xff0c;\u5373\u53ef\u62e5\u6709\u5c5e\u4e8e\u81ea\u5df1\u7684\u5728\u7ebfIDE\u3002<\/p>\n<p>\u8ba9\u6211\u4eec\u5f00\u59cb\u5427&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181707-6a63ac23608af.png\" alt=\"image-20260319175348975\" \/><\/p>\n<h3>1.\u4ec0\u4e48\u662fcode-server&#xff1f;<\/h3>\n<p>code-server\u662f\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee&#xff0c;\u5b83\u5c06Microsoft Visual Studio Code&#xff08;VS Code&#xff09; \u8fd0\u884c\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u5e76\u901a\u8fc7Web\u6d4f\u89c8\u5668 \u63d0\u4f9b\u8bbf\u95ee\u80fd\u529b\u3002\u7b80\u5355\u6765\u8bf4&#xff1a;<\/p>\n<p>code-server &#061; VS Code &#043; \u6d4f\u89c8\u5668\u8bbf\u95ee &#043; \u4e91\u7aef\u8fd0\u884c<\/p>\n<p>\u6838\u5fc3\u7279\u70b9<\/p>\n<table>\n<tr>\u7279\u6027\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u2705 \u5b8c\u6574 VS Code \u4f53\u9a8c<\/td>\n<td>\u652f\u6301\u6269\u5c55\u5e02\u573a\u3001\u8c03\u8bd5\u5668\u3001\u7ec8\u7aef\u3001Git\u3001\u4e3b\u9898\u7b49\u51e0\u4e4e\u6240\u6709\u539f\u751f\u529f\u80fd<\/td>\n<\/tr>\n<tr>\n<td>&#x1f495;\u8f7b\u91cf\u6613\u90e8\u7f72<\/td>\n<td>\u5b98\u65b9\u63d0\u4f9b Docker \u955c\u50cf&#xff0c;\u4e00\u6761\u547d\u4ee4\u5373\u53ef\u542f\u52a8<\/td>\n<\/tr>\n<tr>\n<td>&#x1f310; \u8de8\u5e73\u53f0\u8bbf\u95ee<\/td>\n<td>\u53ea\u8981\u6709\u6d4f\u89c8\u5668&#xff08;\u624b\u673a\u3001\u5e73\u677f\u3001Chromebook\u3001Windows\/Mac\/Linux&#xff09;&#xff0c;\u5c31\u80fd\u5199\u4ee3\u7801<\/td>\n<\/tr>\n<tr>\n<td>&#x1f4bb; \u7edf\u4e00\u5f00\u53d1\u73af\u5883<\/td>\n<td>\u4ee3\u7801\u3001\u914d\u7f6e\u3001\u4f9d\u8d56\u5168\u90e8\u90e8\u7f72\u5728\u670d\u52a1\u5668&#xff0c;\u907f\u514d\u201c\u5728\u6211\u673a\u5668\u4e0a\u80fd\u8dd1\u201d\u7684\u95ee\u9898<\/td>\n<\/tr>\n<tr>\n<td>&#x1f512; \u79c1\u6709\u90e8\u7f72<\/td>\n<td>\u6570\u636e\u5b8c\u5168\u638c\u63e1\u5728\u81ea\u5df1\u624b\u4e2d&#xff0c;\u4e0d\u4f9d\u8d56\u7b2c\u4e09\u65b9\u4e91 IDE&#xff08;\u5982 GitHub Codespaces&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5de5\u4f5c\u539f\u7406<\/p>\n<ul>\n<li>\u4f60\u5728\u670d\u52a1\u5668&#xff08;\u672c\u5730\u3001\u4e91\u4e3b\u673a\u3001NAS \u7b49&#xff09;\u4e0a\u8fd0\u884c code-server<\/li>\n<li>code-server \u542f\u52a8\u4e00\u4e2a Web \u670d\u52a1&#xff08;\u9ed8\u8ba4\u7aef\u53e3 8080&#xff09;<\/li>\n<li>\u4f60\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:8080<\/li>\n<li>\u8f93\u5165\u5bc6\u7801\u540e&#xff0c;\u5373\u53ef\u5728\u7f51\u9875\u4e2d\u4f7f\u7528 VS Code \u754c\u9762\u64cd\u4f5c\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6<\/li>\n<\/ul>\n<p>\u5178\u578b\u4f7f\u7528\u573a\u666f<\/p>\n<ul>\n<li>\u8fdc\u7a0b\u5f00\u53d1&#xff1a;\u5728\u5bb6\u8fde\u63a5\u516c\u53f8\/\u5b9e\u9a8c\u5ba4\u7684\u9ad8\u6027\u80fd\u670d\u52a1\u5668\u5199\u4ee3\u7801<\/li>\n<li>\u6559\u5b66\u6f14\u793a&#xff1a;\u8001\u5e08\u4e00\u952e\u5206\u53d1\u7edf\u4e00\u7f16\u7a0b\u73af\u5883\u7ed9\u5b66\u751f<\/li>\n<li>\u79fb\u52a8\u529e\u516c&#xff1a;\u7528 iPad &#043; \u952e\u76d8\u968f\u65f6\u968f\u5730\u7f16\u7801<\/li>\n<li>\u8d44\u6e90\u53d7\u9650\u8bbe\u5907&#xff1a;\u5728\u4f4e\u914d\u7b14\u8bb0\u672c\u6216\u6811\u8393\u6d3e\u4e0a\u901a\u8fc7\u6d4f\u89c8\u5668\u4f7f\u7528\u5f3a\u5927 IDE<\/li>\n<li>\u56e2\u961f\u5171\u4eab\u73af\u5883&#xff1a;\u5feb\u901f\u4e3a\u65b0\u6210\u5458\u63d0\u4f9b\u9884\u88c5\u5de5\u5177\u94fe\u7684\u5f00\u53d1\u6c99\u7bb1<\/li>\n<\/ul>\n<p>\u6280\u672f\u6808\u7b80\u8ff0<\/p>\n<ul>\n<li>\u57fa\u4e8e VS Code \u7684\u5f00\u6e90\u7248\u672c&#xff08;OSS&#xff09; \u6784\u5efa<\/li>\n<li>\u4f7f\u7528 Node.js \u548c TypeScript \u5f00\u53d1<\/li>\n<li>\u901a\u8fc7 WebSocket \u5b9e\u73b0\u7f16\u8f91\u5668\u4e0e\u6d4f\u89c8\u5668\u7684\u5b9e\u65f6\u540c\u6b65<\/li>\n<li>\u652f\u6301 Linux \/ macOS \/ Windows \/ Docker \/ Kubernetes \u90e8\u7f72<\/li>\n<\/ul>\n<h3>2.\u5b89\u88c5docker<\/h3>\n<p>\u5b89\u88c5Docker&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/get.docker.com\/ <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><\/p>\n<p>\u542f\u7528Docker\u670d\u52a1&#xff1a;<\/p>\n<p>systemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> <span class=\"token function\">docker<\/span><\/p>\n<p>\u68c0\u67e5Docker\u72b6\u6001&#xff1a;<\/p>\n<p>systemctl status <span class=\"token function\">docker<\/span><\/p>\n<h3>3.\u90e8\u7f72code-server<\/h3>\n<h4>3.1 \u5b89\u88c5code-server<\/h4>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4e0b\u8f7d\u6700\u65b0\u7684code-server\u955c\u50cf&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> pull codercom\/code-server:latest<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181708-6a63ac2402e6d.png\" alt=\"image-20260319163131382\" \/><\/p>\n<p>\u542f\u52a8code-server\u5bb9\u5668&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n <span class=\"token parameter variable\">&#8211;name<\/span> code-server <span class=\"token punctuation\">\\\\<\/span><br \/>\n <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">8000<\/span>:8080 <span class=\"token punctuation\">\\\\<\/span><br \/>\n <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">PASSWORD<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">123456<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n <span class=\"token parameter variable\">-v<\/span> \/docker\/vscode\/data:\/root\/.vscode-server <span class=\"token punctuation\">\\\\<\/span><br \/>\n codercom\/code-server:latest<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181708-6a63ac2415ef0.png\" alt=\"image-20260319163228786\" \/><\/p>\n<p>\u9a8c\u8bc1\u90e8\u7f72&#xff0c;\u6253\u5f00docker\u53d1\u73b0\u786e\u5b9e\u5df2\u7ecf\u542f\u52a8\u5bb9\u5668\u5566&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181708-6a63ac242213f.png\" alt=\"b99619bdf3ac429ccfe092f32cd3e880\" \/><\/p>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/localhost:8008 \u5c31\u80fd\u770b\u5230code-server\u7684\u754c\u9762&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181708-6a63ac246dbfa.png\" alt=\"ce7027d73be780dc4456cd77c344e802\" \/><\/p>\n<h4>3.2 \u4f7f\u7528code-server<\/h4>\n<p>\u4f7f\u7528\u542f\u52a8\u547d\u4ee4\u7684\u5bc6\u7801\u201c123456\u201d\u767b\u5f55&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181709-6a63ac250a6fd.png\" alt=\"6e6bb1afa73a76e2e48da6464375ee85\" \/>\u767b\u5f55\u6210\u529f\u540e&#xff0c;\u540c\u610f\u534f\u8bae\u5e76\u8fdb\u884c\u4e0b\u4e00\u6b65&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181709-6a63ac252a8fa.png\" alt=\"92191769e57b981d73616e9ffb0284e6\" \/><\/p>\n<p>\u5b89\u88c5\u4e2d\u6587\u7248vscode:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181709-6a63ac25b9e20.png\" alt=\"image-20260319164202238\" \/><\/p>\n<p>\u70b9\u51fb\u5982\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181710-6a63ac26526b7.png\" alt=\"image-20260319164317874\" \/><\/p>\n<p>\u9009\u62e9\u4e2d\u6587\u7248\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181710-6a63ac26e9b95.png\" alt=\"image-20260319164413135\" \/><\/p>\n<p>\u7136\u540e\u5c31\u6210\u529f\u5566&#xff01;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181711-6a63ac279e520.png\" alt=\"image-20260319164939582\" \/><\/p>\n<p>\u641c\u7d22\u201cLive Server\u201d\u5b89\u88c5&#xff0c;\u4e3a\u4e86\u540e\u7eed\u67e5\u770b\u9875\u9762\u6548\u679c&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181712-6a63ac2841b9d.png\" alt=\"image-20260319165348320\" \/><\/p>\n<p>\u53ef\u4ee5\u65b0\u5efa\u4e00\u4e2a\u6587\u4ef6&#xff0c;\u521b\u9020\u9875\u9762\u770b\u770b&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181712-6a63ac28e1076.png\" alt=\"image-20260319165535314\" \/><\/p>\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528\u7ec8\u7aef&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181713-6a63ac29784c4.png\" alt=\"image-20260319173024611\" \/><\/p>\n<p>code-server\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177&#xff0c;\u5b83\u8ba9\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u5b8c\u6574\u7684VS Code\u5f00\u53d1\u73af\u5883\u3002\u4f46\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;code-server\u53ea\u80fd\u5728\u672c\u5730\u8bbf\u95ee&#xff08;\u5982 http:\/\/localhost:8080&#xff09;&#xff0c;\u65e0\u6cd5\u4ece\u5916\u90e8\u7f51\u7edc\u76f4\u63a5\u4f7f\u7528\u3002<\/p>\n<p>\u8fd9\u65f6\u5019&#xff0c;\u4f60\u5c31\u9700\u8981\u4e00\u4e2a\u5185\u7f51\u7a7f\u900f\u5de5\u5177\u2014\u2014\u800ccpolar\u6b63\u662f\u4e3a\u6b64\u800c\u751f\u3002<\/p>\n<h3>4.\u5b89\u88c5cpolar\u5b9e\u73b0\u968f\u65f6\u968f\u5730\u5f00\u53d1<\/h3>\n<h4>4.1 \u4ec0\u4e48\u662fcpolar&#xff1f;<\/h4>\n<p>cpolar\u662f\u4e00\u6b3e\u5b89\u5168\u9ad8\u6548\u7684\u5185\u7f51\u7a7f\u900f\u5de5\u5177&#xff0c;\u65e0\u9700\u516c\u7f51IP\u6216\u590d\u6742\u914d\u7f6e&#xff0c;\u53ea\u9700\u4e00\u6761\u547d\u4ee4&#xff0c;\u5373\u53ef\u5c06\u672c\u5730\u670d\u52a1\u5668\u3001Web\u670d\u52a1\u6216\u4efb\u610f\u7aef\u53e3\u6620\u5c04\u5230\u516c\u7f51&#xff0c;\u8ba9\u4f60\u968f\u65f6\u968f\u5730\u8fdc\u7a0b\u8bbf\u95ee\u5185\u7f51\u5e94\u7528&#xff0c;\u7279\u522b\u9002\u5408\u5f00\u53d1\u8c03\u8bd5\u3001\u8fdc\u7a0b\u8fd0\u7ef4\u548c\u5e94\u6025\u90e8\u7f72\u7b49\u573a\u666f\u3002<\/p>\n<h4>4.2 \u90e8\u7f72cpolar<\/h4>\n<p>cpolar \u53ef\u4ee5\u5c06\u4f60\u672c\u5730\u7535\u8111\u4e2d\u7684\u670d\u52a1&#xff08;\u5982 SSH\u3001Web\u3001\u6570\u636e\u5e93&#xff09;\u6620\u5c04\u5230\u516c\u7f51\u3002\u5373\u4f7f\u4f60\u5728\u5bb6\u91cc\u6216\u5916\u51fa\u65f6&#xff0c;\u4e5f\u53ef\u4ee5\u901a\u8fc7\u516c\u7f51\u5730\u5740\u8fde\u63a5\u56de\u672c\u5730\u8fd0\u884c\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<p>\u2764\ufe0f\u4ee5\u4e0b\u662f\u5b89\u88c5cpolar\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u4f7f\u7528\u4e00\u952e\u811a\u672c\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">curl<\/span> https:\/\/get.cpolar.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181714-6a63ac2a13fa0.png\" alt=\"image-20250725104019896\" \/><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u6267\u884c\u4e0b\u65b9\u547d\u4ee4\u67e5\u770bcpolar\u670d\u52a1\u72b6\u6001&#xff1a;&#xff08;\u5982\u56fe\u6240\u793a\u5373\u4e3a\u6b63\u5e38\u542f\u52a8&#xff09;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status cpolar<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181714-6a63ac2a203d2.png\" alt=\"22e5adfaf290a17fc3384bb296055259\" \/><\/p>\n<p>Cpolar\u5b89\u88c5\u548c\u6210\u529f\u542f\u52a8\u670d\u52a1\u540e&#xff0c;\u5728\u6d4f\u89c8\u5668\u4e0a\u8f93\u5165\u865a\u62df\u673a\u4e3b\u673aIP\u52a09200\u7aef\u53e3\u5373:\u3010http:\/\/ip:9200\u3011\u8bbf\u95eeCpolar\u7ba1\u7406\u754c\u9762&#xff0c;\u4f7f\u7528Cpolar\u5b98\u7f51\u6ce8\u518c\u7684\u8d26\u53f7\u767b\u5f55,\u767b\u5f55\u540e\u5373\u53ef\u770b\u5230cpolar web \u914d\u7f6e\u754c\u9762,\u63a5\u4e0b\u6765\u5728web \u754c\u9762\u914d\u7f6e\u5373\u53ef&#xff1a;<\/p>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\u8bbf\u95ee\u672c\u57309200\u7aef\u53e3&#xff0c;\u4f7f\u7528cpolar\u8d26\u6237\u5bc6\u7801\u767b\u5f55\u5373\u53ef,\u767b\u5f55\u540e\u5373\u53ef\u5bf9\u96a7\u9053\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181714-6a63ac2a34c11.png\" alt=\"8a6698b1bf26d64ba3645827fbfb1c29\" \/><\/p>\n<h3>5.\u914d\u7f6e\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762\u540e,\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u521b\u5efa\u96a7\u9053&#xff1a;<\/p>\n<ul>\n<li>\u96a7\u9053\u540d\u79f0&#xff1a;\u53ef\u81ea\u5b9a\u4e49&#xff0c;\u672c\u4f8b\u4f7f\u7528\u4e86:vscode&#xff0c;\u6ce8\u610f\u4e0d\u8981\u4e0e\u5df2\u6709\u7684\u96a7\u9053\u540d\u79f0\u91cd\u590d<\/li>\n<li>\u534f\u8bae&#xff1a;http<\/li>\n<li>\u672c\u5730\u5730\u5740&#xff1a;8000<\/li>\n<li>\u57df\u540d\u7c7b\u578b&#xff1a;\u968f\u673a\u57df\u540d<\/li>\n<li>\u5730\u533a&#xff1a;\u9009\u62e9China Top<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181714-6a63ac2a76a99.png\" alt=\"image-20260319174414014\" \/><\/p>\n<p>\u521b\u5efa\u6210\u529f\u540e&#xff0c;\u6253\u5f00\u5de6\u4fa7\u5728\u7ebf\u96a7\u9053\u5217\u8868,\u53ef\u4ee5\u770b\u5230\u521a\u521a\u901a\u8fc7\u521b\u5efa\u96a7\u9053\u751f\u6210\u4e86\u516c\u7f51\u5730\u5740&#xff0c;\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u5728\u5176\u4ed6\u7535\u8111\u6216\u8005\u79fb\u52a8\u7aef\u8bbe\u5907&#xff08;\u5f02\u5730&#xff09;\u4e0a&#xff0c;\u4f7f\u7528\u5730\u5740\u8bbf\u95ee\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181714-6a63ac2aadf25.png\" alt=\"image-20260319174550283\" \/><\/p>\n<p>\u8bbf\u95ee\u6210\u529f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181715-6a63ac2b1140b.png\" alt=\"image-20260319174622159\" \/><\/p>\n<h3>6.\u4fdd\u7559\u56fa\u5b9a\u516c\u7f51\u5730\u5740<\/h3>\n<p>\u4f7f\u7528cpolar\u4e3a\u5176\u914d\u7f6e\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u8be5\u5730\u5740\u4e3a\u56fa\u5b9a\u5730\u5740&#xff0c;\u4e0d\u4f1a\u968f\u673a\u53d8\u5316\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25031kkvvjf0s.png\" alt=\"image-20250918151358733\" \/><\/p>\n<p>\u70b9\u51fb\u5de6\u4fa7\u7684\u9884\u7559&#xff0c;\u9009\u62e9\u4fdd\u7559\u4e8c\u7ea7\u5b50\u57df\u540d&#xff0c;\u5730\u533a\u9009\u62e9china Top&#xff0c;\u7136\u540e\u8bbe\u7f6e\u4e00\u4e2a\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0&#xff0c;\u6211\u4f7f\u7528\u7684\u662fvscode&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u81ea\u5b9a\u4e49\u3002\u586b\u5199\u5907\u6ce8\u4fe1\u606f&#xff0c;\u70b9\u51fb\u4fdd\u7559\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25grtc2cp4l1j.png\" alt=\"image-20260319174846813\" \/><\/p>\n<p>\u767b\u5f55cpolar web UI\u7ba1\u7406\u754c\u9762&#xff0c;\u70b9\u51fb\u5de6\u4fa7\u4eea\u8868\u76d8\u7684\u96a7\u9053\u7ba1\u7406\u2014\u2014\u96a7\u9053\u5217\u8868&#xff0c;\u627e\u5230\u6240\u8981\u914d\u7f6e\u7684\u96a7\u9053&#xff0c;\u70b9\u51fb\u53f3\u4fa7\u7684\u7f16\u8f91\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-2555faumyrncc.png\" alt=\"image-20260319174916628\" \/><\/p>\n<p>\u4fee\u6539\u96a7\u9053\u4fe1\u606f&#xff0c;\u5c06\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u914d\u7f6e\u5230\u96a7\u9053\u4e2d<\/p>\n<ul>\n<li>\u57df\u540d\u7c7b\u578b&#xff1a;\u9009\u62e9\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>Sub Domain&#xff1a;\u586b\u5199\u4fdd\u7559\u6210\u529f\u7684\u4e8c\u7ea7\u5b50\u57df\u540d<\/li>\n<li>\u5730\u533a: China Top<\/li>\n<\/ul>\n<p>\u70b9\u51fb\u66f4\u65b0<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25wzuu5ca4tq1.png\" alt=\"image-20260319174946053\" \/><\/p>\n<p>\u66f4\u65b0\u5b8c\u6210\u540e&#xff0c;\u6253\u5f00\u5728\u7ebf\u96a7\u9053\u5217\u8868&#xff0c;\u6b64\u65f6\u53ef\u4ee5\u770b\u5230\u968f\u673a\u7684\u516c\u7f51\u5730\u5740\u5df2\u7ecf\u53d1\u751f\u53d8\u5316&#xff0c;\u5730\u5740\u540d\u79f0\u4e5f\u53d8\u6210\u4e86\u4fdd\u7559\u548c\u56fa\u5b9a\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u540d\u79f0\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25mtt3kztf10i.png\" alt=\"image-20260319180726217\" \/><\/p>\n<p>\u6700\u540e&#xff0c;\u6211\u4eec\u4f7f\u7528\u56fa\u5b9a\u7684\u516c\u7f51\u5730\u5740\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff0c;\u53ef\u4ee5\u770b\u5230\u6210\u529f\u8bbf\u95ee\u7684\u9875\u9762&#xff0c;\u8fd9\u6837\u4e00\u4e2a\u6c38\u4e45\u4e0d\u4f1a\u53d8\u5316\u7684\u4e8c\u7ea7\u5b50\u57df\u540d\u516c\u7f51\u7f51\u5740\u5373\u8bbe\u7f6e\u597d\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"2026-07-25tc2dwa3e3tc.png\" alt=\"image-20260319180809930\" \/><\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u6574\u4f53\u800c\u8a00&#xff0c;code-server \u662f\u4e00\u4e2a\u628a&#034;\u5f00\u53d1\u73af\u5883&#034;\u670d\u52a1\u5316\u505a\u5f97\u6bd4\u8f83\u5f7b\u5e95\u7684\u65b9\u6848\u3002\u5b83\u7684\u4ef7\u503c\u4e0d\u5728\u4e8e\u66ff\u4ee3\u684c\u9762\u7aef VS Code&#xff0c;\u800c\u662f\u628a\u5f00\u53d1\u73af\u5883\u4ece\u5177\u4f53\u7684\u8bbe\u5907\u4e0a\u89e3\u8026\u51fa\u6765\u2014\u2014\u4ee3\u7801\u5728\u4e91\u7aef&#xff0c;\u4ece\u4efb\u4f55\u7ec8\u7aef\u90fd\u53ef\u4ee5\u8fde\u63a5\u3002<\/p>\n<p>\u5982\u679c\u4f60\u6709\u95f2\u7f6e\u670d\u52a1\u5668\u6216\u8005 NAS \u60f3\u5145\u5206\u5229\u7528&#xff0c;\u6216\u8005\u786e\u5b9e\u6709\u79fb\u52a8\u529e\u516c\u5199\u4ee3\u7801\u7684\u9700\u6c42&#xff0c;\u8fd9\u5957\u65b9\u6848\u53ef\u4ee5\u4e00\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\ncode-server \u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898\u662f&#xff1a;\u8ba9\u4f60\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u91cc\u7528\u4e0a\u5b8c\u6574\u7684 VS Code\u3002<br \/>\n\u5b83\u7684\u539f\u7406\u4e0d\u590d\u6742\u2014\u2014VS Code \u672c\u8eab\u662f Electron \u5e94\u7528&#xff0c;code-server \u628a\u8fd9\u5c42\u684c\u9762 UI \u6362\u6210 Web \u670d\u52a1\u7aef\u6e32\u67d3&#xff0c;\u4ee3\u7801\u5b9e\u9645\u8dd1\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u6d4f\u89c8\u5668\u53ea\u8d1f\u8d23\u663e\u793a\u548c\u4ea4\u4e92\u3002\u76f8\u5f53\u4e8e\u628a\\&#8221;\u5f00\u53d1\u73af\u5883\\&#8221;\u4ece\u672c\u5730\u62bd\u79bb\u51fa\u6765&#xff0c;\u53d8\u6210\u4e00\u4e2a\u53ef\u4ee5\u901a\u8fc7 URL \u8bbf\u95ee\u7684\u670d\u52a1\u3002<br \/>\n\u5b9e\u9645\u7528\u4e0b\u6765&#xff0c;\u5b83\u9002\u5408\u4e24\u7c7b\u573a\u666f&amp;<\/p>\n","protected":false},"author":2,"featured_media":81450,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-81470","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/81470.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 code-server \u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898\u662f&#xff1a;\u8ba9\u4f60\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u91cc\u7528\u4e0a\u5b8c\u6574\u7684 VS Code\u3002 \u5b83\u7684\u539f\u7406\u4e0d\u590d\u6742\u2014\u2014VS Code \u672c\u8eab\u662f Electron \u5e94\u7528&#xff0c;code-server \u628a\u8fd9\u5c42\u684c\u9762 UI \u6362\u6210 Web \u670d\u52a1\u7aef\u6e32\u67d3&#xff0c;\u4ee3\u7801\u5b9e\u9645\u8dd1\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u6d4f\u89c8\u5668\u53ea\u8d1f\u8d23\u663e\u793a\u548c\u4ea4\u4e92\u3002\u76f8\u5f53\u4e8e\u628a&quot;\u5f00\u53d1\u73af\u5883&quot;\u4ece\u672c\u5730\u62bd\u79bb\u51fa\u6765&#xff0c;\u53d8\u6210\u4e00\u4e2a\u53ef\u4ee5\u901a\u8fc7 URL \u8bbf\u95ee\u7684\u670d\u52a1\u3002 \u5b9e\u9645\u7528\u4e0b\u6765&#xff0c;\u5b83\u9002\u5408\u4e24\u7c7b\u573a\u666f&amp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81470.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T18:17:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181707-6a63ac23608af.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81470.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81470.html\",\"name\":\"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T18:17:16+00:00\",\"dateModified\":\"2026-07-24T18:17:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81470.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81470.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81470.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/81470.html","og_locale":"zh_CN","og_type":"article","og_title":"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 code-server \u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898\u662f&#xff1a;\u8ba9\u4f60\u5728\u4efb\u610f\u8bbe\u5907\u7684\u6d4f\u89c8\u5668\u91cc\u7528\u4e0a\u5b8c\u6574\u7684 VS Code\u3002 \u5b83\u7684\u539f\u7406\u4e0d\u590d\u6742\u2014\u2014VS Code \u672c\u8eab\u662f Electron \u5e94\u7528&#xff0c;code-server \u628a\u8fd9\u5c42\u684c\u9762 UI \u6362\u6210 Web \u670d\u52a1\u7aef\u6e32\u67d3&#xff0c;\u4ee3\u7801\u5b9e\u9645\u8dd1\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a&#xff0c;\u6d4f\u89c8\u5668\u53ea\u8d1f\u8d23\u663e\u793a\u548c\u4ea4\u4e92\u3002\u76f8\u5f53\u4e8e\u628a\"\u5f00\u53d1\u73af\u5883\"\u4ece\u672c\u5730\u62bd\u79bb\u51fa\u6765&#xff0c;\u53d8\u6210\u4e00\u4e2a\u53ef\u4ee5\u901a\u8fc7 URL \u8bbf\u95ee\u7684\u670d\u52a1\u3002 \u5b9e\u9645\u7528\u4e0b\u6765&#xff0c;\u5b83\u9002\u5408\u4e24\u7c7b\u573a\u666f&amp;","og_url":"https:\/\/www.wsisp.com\/helps\/81470.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T18:17:16+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724181707-6a63ac23608af.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81470.html","url":"https:\/\/www.wsisp.com\/helps\/81470.html","name":"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T18:17:16+00:00","dateModified":"2026-07-24T18:17:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81470.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81470.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81470.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"code-server \u4f53\u9a8c\uff1a\u4e00\u884c\u547d\u4ee4\u628a VS Code \u8dd1\u5728\u670d\u52a1\u5668\u4e0a\uff0c\u968f\u65f6\u7528\u6d4f\u89c8\u5668\u5199\u4ee3\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=81470"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81470\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/81450"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81470"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}