{"id":268,"date":"2023-05-27T01:59:14","date_gmt":"2023-05-26T17:59:14","guid":{"rendered":"https:\/\/blog.laning.cc\/?p=268"},"modified":"2024-04-14T19:04:55","modified_gmt":"2024-04-14T11:04:55","slug":"vscode-web%e6%9c%8d%e5%8a%a1%e4%b8%8e%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/","title":{"rendered":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.laning.cc\/wp-content\/uploads\/2023\/05\/ui.png\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\"\/><\/div><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>\u524d\u8a00<\/h2>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u5728\u591a\u53f0\u8bbe\u5907\u4e4b\u95f4\u6765\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u9891\u7e41\u7684\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u65e0\u7591\u662f\u5f88\u6d88\u8017\u7cbe\u529b\u7684\u4e8b\u60c5\u3002\u800cvscode-web\u63d0\u4f9b\u4e86\u901a\u8fc7\u6d4f\u89c8\u5668\u6765\u7f16\u5199\u4ee3\u7801\u7684\u73af\u5883\uff0c\u56e0\u800c\u7406\u8bba\u4e0a\uff0c\u4f60\u53ef\u4ee5\u5728\u4efb\u4f55\u4e00\u53f0\u673a\u5668\u4e0a\u7ee7\u7eed\u4f60\u7684\u5de5\u4f5c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a><\/a>\u914d\u7f6e\u8fc7\u7a0b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>1.\u542f\u52a8docker\u670d\u52a1<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>docker-compose up -d<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>2.\u8fdb\u5165\u5bb9\u5668\u67e5\u770b\u5bc6\u94a5<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>#\u8fdb\u5165\u5bb9\u5668\ndocker exec -it  code-server bash\n#\u67e5\u770b\u5bc6\u94a5\ncat ~\/.config\/code-server\/config.yaml <\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>3.\u66f4\u6362\u5bb9\u5668\u7684apt\u6e90<\/h3>\n\n\n\n<p>\u53c2\u8003\u6587\u6863\uff1a<a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/debian\/\">\u6e05\u534e\u5f00\u6e90\u8f6f\u4ef6\u955c\u50cf\u7ad9Debian Help<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>#\u6362\u6e90\u5b8c\u6210\u540e\u6267\u884c\napt update<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>4.\u5b89\u88c5C\/C++\u73af\u5883<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install build-essential<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>5.\u89e3\u51b3python\u547d\u4ee4\u627e\u4e0d\u5230<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ln -s \/usr\/bin\/python3 \/usr\/bin\/python<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">6.\u5b89\u88c5Rust\u5f00\u53d1\u73af\u5883<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>curl --proto '=https' --tlsv1.2 -sSf https:\/\/sh.rustup.rs | sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>7.\u8fdb\u5165web\u754c\u9762\uff0c\u81ea\u884c\u5b89\u88c5\u559c\u6b22\u7684\u63d2\u4ef6<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5982\u679c\u9700\u8981\u5728\u591a\u53f0\u8bbe\u5907\u4e4b\u95f4\u6765\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u9891\u7e41\u7684\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u65e0\u7591\u662f\u5f88\u6d88\u8017\u7cbe\u529b\u7684\u4e8b\u60c5\u3002\u800cvscode-web\u63d0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e &ndash; Laning &#039;s Blog<\/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:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e &ndash; Laning &#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u5982\u679c\u9700\u8981\u5728\u591a\u53f0\u8bbe\u5907\u4e4b\u95f4\u6765\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u9891\u7e41\u7684\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u65e0\u7591\u662f\u5f88\u6d88\u8017\u7cbe\u529b\u7684\u4e8b\u60c5\u3002\u800cvscode-web\u63d0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/\" \/>\n<meta property=\"og:site_name\" content=\"Laning &#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-26T17:59:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-14T11:04:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"laning\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.laning.org\/#website\",\"url\":\"https:\/\/blog.laning.org\/\",\"name\":\"\\u8fa3\\u5b81\\u7684\\u535a\\u5ba2\",\"description\":\"Learning on the go\",\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.laning.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui.png\",\"contentUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui.png\",\"width\":1927,\"height\":585},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage\",\"url\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/\",\"name\":\"vscode-web\\u670d\\u52a1\\u4e0e\\u914d\\u7f6e &ndash; Laning &#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage\"},\"datePublished\":\"2023-05-26T17:59:14+00:00\",\"dateModified\":\"2024-04-14T11:04:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/blog.laning.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"vscode-web\\u670d\\u52a1\\u4e0e\\u914d\\u7f6e\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage\"},\"author\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"headline\":\"vscode-web\\u670d\\u52a1\\u4e0e\\u914d\\u7f6e\",\"datePublished\":\"2023-05-26T17:59:14+00:00\",\"dateModified\":\"2024-04-14T11:04:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage\"},\"wordCount\":11,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\"},\"image\":{\"@id\":\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png\",\"articleSection\":[\"Docker\",\"Github\"],\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93\",\"name\":\"laning\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/blog.laning.org\/#personlogo\",\"inLanguage\":\"zh-CN\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g\",\"caption\":\"laning\"},\"logo\":{\"@id\":\"https:\/\/blog.laning.org\/#personlogo\"},\"sameAs\":[\"https:\/\/blog.laning.org\"],\"url\":\"https:\/\/blog.laning.org\/index.php\/author\/laning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e &ndash; Laning &#039;s Blog","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:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/","og_locale":"zh_CN","og_type":"article","og_title":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e &ndash; Laning &#039;s Blog","og_description":"\u524d\u8a00 \u5982\u679c\u9700\u8981\u5728\u591a\u53f0\u8bbe\u5907\u4e4b\u95f4\u6765\u8fdb\u884c\u5f00\u53d1\u5de5\u4f5c\uff0c\u9891\u7e41\u7684\u914d\u7f6e\u5f00\u53d1\u73af\u5883\u65e0\u7591\u662f\u5f88\u6d88\u8017\u7cbe\u529b\u7684\u4e8b\u60c5\u3002\u800cvscode-web\u63d0 [&hellip;]","og_url":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/","og_site_name":"Laning &#039;s Blog","article_published_time":"2023-05-26T17:59:14+00:00","article_modified_time":"2024-04-14T11:04:55+00:00","og_image":[{"url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"laning"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/blog.laning.org\/#website","url":"https:\/\/blog.laning.org\/","name":"\u8fa3\u5b81\u7684\u535a\u5ba2","description":"Learning on the go","publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.laning.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage","inLanguage":"zh-CN","url":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui.png","contentUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui.png","width":1927,"height":585},{"@type":"WebPage","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage","url":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/","name":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e &ndash; Laning &#039;s Blog","isPartOf":{"@id":"https:\/\/blog.laning.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage"},"datePublished":"2023-05-26T17:59:14+00:00","dateModified":"2024-04-14T11:04:55+00:00","breadcrumb":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/blog.laning.org\/"},{"@type":"ListItem","position":2,"name":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e"}]},{"@type":"Article","@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#article","isPartOf":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage"},"author":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"headline":"vscode-web\u670d\u52a1\u4e0e\u914d\u7f6e","datePublished":"2023-05-26T17:59:14+00:00","dateModified":"2024-04-14T11:04:55+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#webpage"},"wordCount":11,"commentCount":0,"publisher":{"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93"},"image":{"@id":"https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.laning.org\/wp-content\/uploads\/2023\/05\/ui-1024x311.png","articleSection":["Docker","Github"],"inLanguage":"zh-CN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.laning.org\/index.php\/2023\/05\/27\/268\/#respond"]}]},{"@type":["Person","Organization"],"@id":"https:\/\/blog.laning.org\/#\/schema\/person\/040331b403ed00370f2fc1e8eb6e6b93","name":"laning","image":{"@type":"ImageObject","@id":"https:\/\/blog.laning.org\/#personlogo","inLanguage":"zh-CN","url":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17215f328425d53537532588320693a1?s=96&d=retro&r=g","caption":"laning"},"logo":{"@id":"https:\/\/blog.laning.org\/#personlogo"},"sameAs":["https:\/\/blog.laning.org"],"url":"https:\/\/blog.laning.org\/index.php\/author\/laning\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/268"}],"collection":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":4,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":310,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/posts\/268\/revisions\/310"}],"wp:attachment":[{"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laning.org\/index.php\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}