{"id":88365,"date":"2026-08-01T02:40:36","date_gmt":"2026-07-31T18:40:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/88365.html"},"modified":"2026-08-01T02:40:36","modified_gmt":"2026-07-31T18:40:36","slug":"%e3%80%90wsllinux%e3%80%91%e5%9b%bd%e5%86%85%e7%bd%91%e7%bb%9c%e8%bf%9e%e6%8e%a5%e5%be%ae%e8%bd%af%e5%ae%98%e6%96%b9%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e6%88%96github%ef%bc%89%e4%b8%8d%e7%a8%b3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/88365.html","title":{"rendered":"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f"},"content":{"rendered":"<p>\u5728CMD\u4e2d\u4f7f\u7528 wsl &#8211;install \u4e00\u952e\u5b89\u88c5 WSL \u65f6&#xff0c;\u9047\u5230\u201c\u4e0e\u670d\u52a1\u5668\u7684\u8fde\u63a5\u88ab\u91cd\u7f6e\u201d\u6216\u4e2d\u9014\u65ad\u5f00&#xff0c;99%\u7684\u539f\u56e0\u662f\u56e0\u4e3a\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668&#xff08;\u6216 GitHub&#xff09;\u4e0d\u7a33\u5b9a&#xff0c;\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u3002<\/p>\n<p>\u8981\u5f7b\u5e95\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u653e\u5f03\u4e00\u952e\u547d\u4ee4&#xff0c;\u6539\u4e3a\u201c\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5\u201d\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<\/p>\n<h3>&#x1f4ca; \u5b89\u88c5\u51b3\u7b56\u6d41\u7a0b\u56fe<\/h3>\n<p>\u5f53 wsl &#8211;install \u4e00\u952e\u5b89\u88c5\u5931\u8d25\u65f6&#xff0c;\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u51b3\u7b56\u6d41\u7a0b\u9009\u62e9\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<p>  #mermaid-svg-VllhWI4ErMFSNRGc{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-VllhWI4ErMFSNRGc .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-VllhWI4ErMFSNRGc .error-icon{fill:#552222;}#mermaid-svg-VllhWI4ErMFSNRGc .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-VllhWI4ErMFSNRGc .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-VllhWI4ErMFSNRGc .marker{fill:#333333;stroke:#333333;}#mermaid-svg-VllhWI4ErMFSNRGc .marker.cross{stroke:#333333;}#mermaid-svg-VllhWI4ErMFSNRGc svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-VllhWI4ErMFSNRGc p{margin:0;}#mermaid-svg-VllhWI4ErMFSNRGc .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-VllhWI4ErMFSNRGc .cluster-label text{fill:#333;}#mermaid-svg-VllhWI4ErMFSNRGc .cluster-label span{color:#333;}#mermaid-svg-VllhWI4ErMFSNRGc .cluster-label span p{background-color:transparent;}#mermaid-svg-VllhWI4ErMFSNRGc .label text,#mermaid-svg-VllhWI4ErMFSNRGc span{fill:#333;color:#333;}#mermaid-svg-VllhWI4ErMFSNRGc .node rect,#mermaid-svg-VllhWI4ErMFSNRGc .node circle,#mermaid-svg-VllhWI4ErMFSNRGc .node ellipse,#mermaid-svg-VllhWI4ErMFSNRGc .node polygon,#mermaid-svg-VllhWI4ErMFSNRGc .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-VllhWI4ErMFSNRGc .rough-node .label text,#mermaid-svg-VllhWI4ErMFSNRGc .node .label text,#mermaid-svg-VllhWI4ErMFSNRGc .image-shape .label,#mermaid-svg-VllhWI4ErMFSNRGc .icon-shape .label{text-anchor:middle;}#mermaid-svg-VllhWI4ErMFSNRGc .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-VllhWI4ErMFSNRGc .rough-node .label,#mermaid-svg-VllhWI4ErMFSNRGc .node .label,#mermaid-svg-VllhWI4ErMFSNRGc .image-shape .label,#mermaid-svg-VllhWI4ErMFSNRGc .icon-shape .label{text-align:center;}#mermaid-svg-VllhWI4ErMFSNRGc .node.clickable{cursor:pointer;}#mermaid-svg-VllhWI4ErMFSNRGc .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-VllhWI4ErMFSNRGc .arrowheadPath{fill:#333333;}#mermaid-svg-VllhWI4ErMFSNRGc .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-VllhWI4ErMFSNRGc .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-VllhWI4ErMFSNRGc .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-VllhWI4ErMFSNRGc .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-VllhWI4ErMFSNRGc .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-VllhWI4ErMFSNRGc .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-VllhWI4ErMFSNRGc .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-VllhWI4ErMFSNRGc .cluster text{fill:#333;}#mermaid-svg-VllhWI4ErMFSNRGc .cluster span{color:#333;}#mermaid-svg-VllhWI4ErMFSNRGc div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-VllhWI4ErMFSNRGc .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-VllhWI4ErMFSNRGc rect.text{fill:none;stroke-width:0;}#mermaid-svg-VllhWI4ErMFSNRGc .icon-shape,#mermaid-svg-VllhWI4ErMFSNRGc .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-VllhWI4ErMFSNRGc .icon-shape p,#mermaid-svg-VllhWI4ErMFSNRGc .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-VllhWI4ErMFSNRGc .icon-shape .label rect,#mermaid-svg-VllhWI4ErMFSNRGc .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-VllhWI4ErMFSNRGc .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-VllhWI4ErMFSNRGc .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-VllhWI4ErMFSNRGc :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span style=\"color:#fff !important;font-weight:bold !important\" class=\"nodeLabel\"><\/p>\n<p>\u4e00\u952e\u5b89\u88c5\u5931\u8d25&#xff08;\u8fde\u63a5\u88ab\u91cd\u7f6e\/\u8d85\u65f6&#xff09;<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u662f\u5426\u7ee7\u7eed\u5c1d\u8bd5\u4e00\u952e\u5b89\u88c5&#xff1f;<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u65b9\u6cd5\u4e8c&#xff1a;\u4f18\u5316\u7f51\u7edc\u73af\u58831. \u4e3aCMD\u914d\u7f6e\u4ee3\u74062. \u66f4\u6539DNS\u670d\u52a1\u5668<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u518d\u6b21\u5c1d\u8bd5wsl &#8211;install<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u662f\u5426\u6210\u529f&#xff1f;<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#fff !important;font-weight:bold !important\" class=\"nodeLabel\"><\/p>\n<p>\u2705 \u5b89\u88c5\u5b8c\u6210<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u8f6c\u5165\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#fff !important;font-weight:bold !important\" class=\"nodeLabel\"><\/p>\n<p>\u65b9\u6cd5\u4e00&#xff1a;\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5&#xff08;\u63a8\u8350&#xff0c;\u6210\u529f\u7387100%&#xff09;<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u7b2c1\u6b65&#xff1a;\u542f\u7528Windows\u5fc5\u5907\u529f\u80fd- \u542f\u7528WSL\u529f\u80fd- \u542f\u7528\u865a\u62df\u673a\u5e73\u53f0- \u91cd\u542f\u7535\u8111<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u7b2c2\u6b65&#xff1a;\u4e0b\u8f7d\u5e76\u5b89\u88c5WSL2\u5185\u6838- \u8bbf\u95ee\u5b98\u65b9\u94fe\u63a5\u4e0b\u8f7d\u5185\u6838\u5305- \u53cc\u51fb\u5b89\u88c5wsl_update_x64.msi<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u7b2c3\u6b65&#xff1a;\u8bbe\u7f6eWSL2\u4e3a\u9ed8\u8ba4\u7248\u672c- \u7ba1\u7406\u5458CMD\u8fd0\u884cwsl &#8211;set-default-version 2<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#2d3436 !important\" class=\"nodeLabel\"><\/p>\n<p>\u7b2c4\u6b65&#xff1a;\u5b89\u88c5Linux\u53d1\u884c\u7248- \u65b9\u5f0fA&#xff1a;\u5fae\u8f6f\u5546\u5e97\u5b89\u88c5Ubuntu- \u65b9\u5f0fB&#xff1a;\u4e0b\u8f7d\u79bb\u7ebf\u5305\u5b89\u88c5<\/p>\n<p><\/span><\/p>\n<p>         <span style=\"color:#fff !important;font-weight:bold !important\" class=\"nodeLabel\"><\/p>\n<p>\u2705 \u5b89\u88c5\u5b8c\u6210\u8bbe\u7f6e\u7528\u6237\u540d\u5bc6\u7801\u5373\u53ef\u4f7f\u7528<\/p>\n<p><\/span><\/p>\n<p>\u6d41\u7a0b\u56fe\u8bf4\u660e&#xff1a;<\/p>\n<li>\u8d77\u70b9&#xff1a;\u4e00\u952e\u5b89\u88c5\u5931\u8d25&#xff08;\u8fde\u63a5\u88ab\u91cd\u7f6e\/\u8d85\u65f6&#xff09;<\/li>\n<li>\u51b3\u7b56\u70b9&#xff1a;\u662f\u5426\u7ee7\u7eed\u5c1d\u8bd5\u4e00\u952e\u5b89\u88c5&#xff1f;\n<ul>\n<li>\u662f \u2192 \u4f7f\u7528\u65b9\u6cd5\u4e8c\u4f18\u5316\u7f51\u7edc\u73af\u5883\u540e\u91cd\u8bd5<\/li>\n<li>\u5426 \u2192 \u76f4\u63a5\u91c7\u7528\u65b9\u6cd5\u4e00\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<li>\u65b9\u6cd5\u4e00\u6d41\u7a0b&#xff1a;\u56db\u4e2a\u6e05\u6670\u6b65\u9aa4&#xff08;\u542f\u7528\u529f\u80fd\u2192\u4e0b\u8f7d\u5185\u6838\u2192\u8bbe\u7f6e\u7248\u672c\u2192\u5b89\u88c5\u53d1\u884c\u7248&#xff09;<\/li>\n<li>\u65b9\u6cd5\u4e8c\u6d41\u7a0b&#xff1a;\u4f18\u5316\u7f51\u7edc\u540e\u91cd\u8bd5&#xff0c;\u82e5\u4ecd\u5931\u8d25\u5219\u8f6c\u5165\u624b\u52a8\u5b89\u88c5<\/li>\n<h4>\u65b9\u6cd5\u4e00&#xff1a;\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5&#xff08;\u6700\u63a8\u8350&#xff0c;\u6210\u529f\u7387 100%&#xff09;<\/h4>\n<p>\u901a\u8fc7\u6d4f\u89c8\u5668\u6216\u4e0b\u8f7d\u5de5\u5177\u624b\u52a8\u4e0b\u8f7d\u6240\u9700\u7ec4\u4ef6&#xff0c;\u7ed5\u8fc7 CMD \u4e0d\u7a33\u5b9a\u7684\u7f51\u7edc\u4e0b\u8f7d\u673a\u5236\u3002<\/p>\n<h5>\u7b2c 1 \u6b65&#xff1a;\u542f\u7528 Windows \u5fc5\u5907\u529f\u80fd<\/h5>\n<li>\u6309 Win &#043; S \u641c\u7d22 cmd&#xff0c;\u53f3\u952e\u9009\u62e9 \u201c\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u201d\u3002<\/li>\n<li>\u4f9d\u6b21\u590d\u5236\u5e76\u8fd0\u884c\u4ee5\u4e0b\u4e24\u6761\u547d\u4ee4&#xff08;\u542f\u7528 WSL \u548c\u865a\u62df\u673a\u5e73\u53f0&#xff09;&#xff1a;dism.exe \/online \/enable-feature \/featurename:Microsoft-Windows-Subsystem-Linux \/all \/norestart<br \/>\ndism.exe \/online \/enable-feature \/featurename:VirtualMachinePlatform \/all \/norestart\n <\/li>\n<li>\u91cd\u542f\u7535\u8111&#xff08;\u8fd9\u4e00\u6b65\u5fc5\u987b\u505a&#xff0c;\u5426\u5219\u540e\u7eed\u6b65\u9aa4\u4f1a\u62a5\u9519&#xff09;\u3002<\/li>\n<h5>\u7b2c 2 \u6b65&#xff1a;\u624b\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5 WSL 2 \u5185\u6838\u66f4\u65b0\u5305<\/h5>\n<li>\u91cd\u542f\u540e&#xff0c;\u4f7f\u7528\u6d4f\u89c8\u5668&#xff08;\u5982Edge\/Chrome&#xff09;\u8bbf\u95ee\u5fae\u8f6f\u5b98\u65b9\u5185\u6838\u4e0b\u8f7d\u94fe\u63a5&#xff1a; &#x1f449; https:\/\/aka.ms\/wsl2kernel) (\u5982\u679c\u94fe\u63a5\u8df3\u8f6c\u6162&#xff0c;\u53ef\u76f4\u63a5\u590d\u5236\u6b64\u76f4\u94fe\u4e0b\u8f7d&#xff1a;https:\/\/wslstorestorage.blob.core.windows.net\/wslblob\/wsl_update_x64.msi)<\/li>\n<li>\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;\u53cc\u51fb\u8fd0\u884c wsl_update_x64.msi \u8fdb\u884c\u5b89<\/li>\n<h5>\u7b2c 3 \u6b65&#xff1a;\u8bbe\u7f6e WSL 2 \u4e3a\u9ed8\u8ba4\u7248\u672c<\/h5>\n<p>\u6253\u5f00\u7ba1\u7406\u5458 CMD&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u56de\u8f66&#xff1a;<\/p>\n<p>wsl &#8211;set-default-version 2<\/p>\n<p>(\u5982\u679c\u63d0\u793a&#034;\u8bf7\u5c06\u2026\u2026\u542f\u7528\u4e3a\u9ed8\u8ba4\u7248\u672c&#034;&#xff0c;\u8bf7\u68c0\u67e5\u7b2c 1 \u6b65\u7684\u529f\u80fd\u662f\u5426\u5f00\u542f\u5e76\u91cd\u542f\u4e86\u7535\u8111)<\/p>\n<h5>\u7b2c 4 \u6b65&#xff1a;\u624b\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5 Linux \u53d1\u884c\u7248&#xff08;\u5982 Ubuntu&#xff09;<\/h5>\n<p>\u4e0d\u8981\u4f7f\u7528 wsl &#8211;install \u4e0b\u8f7d\u4e86&#xff0c;\u76f4\u63a5\u53bb\u5fae\u8f6f\u5546\u5e97\u6216\u4e0b\u8f7d\u79bb\u7ebf\u5305&#xff1a;<\/p>\n<ul>\n<li>\u65b9\u5f0f A&#xff08;\u63a8\u8350&#xff09;&#xff1a;\u6253\u5f00\u7535\u8111\u81ea\u5e26\u7684 Microsoft Store&#xff08;\u5fae\u8f6f\u5546\u5e97&#xff09;&#xff0c;\u641c\u7d22 Ubuntu&#xff08;\u63a8\u8350 Ubuntu 22.04 \u6216 24.04&#xff09;&#xff0c;\u70b9\u51fb&#034;\u83b7\u53d6\/\u5b89\u88c5&#034;\u3002<\/li>\n<li>\u65b9\u5f0f B&#xff08;\u79bb\u7ebf\u5305&#xff09;&#xff1a;\u5982\u679c\u5fae\u8f6f\u5546\u5e97\u4e5f\u8fde\u4e0d\u4e0a&#xff0c;\u53ef\u4ee5\u7528\u6d4f\u89c8\u5668\u4e0b\u8f7d\u79bb\u7ebf\u5b89\u88c5\u5305&#xff1a;\n<ul>\n<li>Ubuntu 24.04&#xff1a;https:\/\/aka.ms\/wslubuntu2404<\/li>\n<li>Ubuntu 22.04&#xff1a;https:\/\/aka.ms\/wslubuntu2204<\/li>\n<li>\u4e0b\u8f7d\u540e\u5f97\u5230\u7684\u662f\u4e00\u4e2a .appx \u6216 .appxbundle \u6587\u4ef6&#xff0c;\u76f4\u63a5\u53cc\u51fb\u5b83\u5373\u53ef\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5728\u5f00\u59cb\u83dc\u5355\u627e\u5230 Ubuntu \u5e76\u6253\u5f00&#xff0c;\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801\u5373\u53ef\u3002<\/p>\n<h5>\u5e38\u89c1\u624b\u52a8\u5b89\u88c5\u95ee\u9898\u6392\u67e5<\/h5>\n<p>\u624b\u52a8\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u4ee5\u4e0b\u95ee\u9898&#xff0c;\u8fd9\u91cc\u63d0\u4f9b\u76f8\u5e94\u7684\u6392\u67e5\u65b9\u6848&#xff1a;<\/p>\n<table>\n<tr>\u95ee\u9898\u73b0\u8c61\u53ef\u80fd\u539f\u56e0\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td align=\"left\">\u53cc\u51fb MSI \u65e0\u53cd\u5e94<\/td>\n<td align=\"left\">1. \u7cfb\u7edf\u6743\u9650\u4e0d\u8db32. \u6587\u4ef6\u635f\u574f3. \u5b89\u5168\u8f6f\u4ef6\u62e6\u622a<\/td>\n<td align=\"left\">1. \u53f3\u952e\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c2. \u91cd\u65b0\u4e0b\u8f7d\u5185\u6838\u5305&#xff0c;\u68c0\u67e5\u6587\u4ef6\u5b8c\u6574\u60273. \u4e34\u65f6\u5173\u95ed\u6740\u6bd2\u8f6f\u4ef6\/\u9632\u706b\u5899\u518d\u8bd5<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5b89\u88c5\u53d1\u884c\u7248\u65f6\u62a5\u9519 0x80070005<\/td>\n<td align=\"left\">\u6743\u9650\u4e0d\u8db3\u6216\u6587\u4ef6\u88ab\u5360\u7528<\/td>\n<td align=\"left\">1. \u786e\u4fdd\u4f7f\u7528\u7ba1\u7406\u5458\u6743\u9650\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f2. \u5173\u95ed\u6240\u6709\u53ef\u80fd\u5360\u7528\u7cfb\u7edf\u6587\u4ef6\u7684\u7a0b\u5e8f&#xff08;\u5982\u865a\u62df\u673a\u8f6f\u4ef6&#xff09;3. \u5c1d\u8bd5\u5728\u5b89\u5168\u6a21\u5f0f\u4e0b\u5b89\u88c5<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5546\u5e97\u4e0b\u8f7d\u6162\u6216\u65e0\u6cd5\u8fde\u63a5<\/td>\n<td align=\"left\">\u5fae\u8f6f\u5546\u5e97\u670d\u52a1\u5668\u7f51\u7edc\u4e0d\u7a33\u5b9a<\/td>\n<td align=\"left\">1. \u4f7f\u7528**\u65b9\u5f0f B&#xff08;\u79bb\u7ebf\u5305&#xff09;**\u76f4\u63a5\u4e0b\u8f7d\u5b89\u88c52. \u66f4\u6362\u7f51\u7edc\u73af\u5883&#xff08;\u5982\u4f7f\u7528\u624b\u673a\u70ed\u70b9&#xff09;3. \u4fee\u6539\u7cfb\u7edf DNS \u4e3a 8.8.8.8 \u548c 8.8.4.4<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u8fd0\u884c wsl &#8211;set-default-version 2 \u63d0\u793a&#034;\u8bf7\u542f\u7528 WSL&#034;<\/td>\n<td align=\"left\">\u7b2c 1 \u6b65\u7684\u529f\u80fd\u672a\u6b63\u786e\u542f\u7528\u6216\u672a\u91cd\u542f<\/td>\n<td align=\"left\">1. \u786e\u8ba4\u5df2\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c\u4e24\u6761 dism.exe \u547d\u4ee42. \u5fc5\u987b\u91cd\u542f\u7535\u8111\u540e\u91cd\u8bd5\u6b64\u547d\u4ee43. \u5728&#034;\u542f\u7528\u6216\u5173\u95ed Windows \u529f\u80fd&#034;\u4e2d\u624b\u52a8\u52fe\u9009&#034;\u9002\u7528\u4e8e Linux \u7684 Windows \u5b50\u7cfb\u7edf&#034;\u548c&#034;\u865a\u62df\u673a\u5e73\u53f0&#034;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5b89\u88c5\u540e Ubuntu \u542f\u52a8\u95ea\u9000<\/td>\n<td align=\"left\">1. WSL 2 \u5185\u6838\u672a\u6b63\u786e\u5b89\u88c52. \u865a\u62df\u5316\u672a\u5f00\u542f<\/td>\n<td align=\"left\">1. \u91cd\u65b0\u8fd0\u884c\u7b2c 2 \u6b65\u7684 MSI \u5b89\u88c5\u53052. \u8fdb\u5165 BIOS \u5f00\u542f Virtualization Technology (VT-x\/AMD-V)3. \u5728 PowerShell \u4e2d\u8fd0\u884c wsl &#8211;update \u66f4\u65b0\u5185\u6838<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u79bb\u7ebf\u5305&#xff08;.appx&#xff09;\u5b89\u88c5\u5931\u8d25<\/td>\n<td align=\"left\">\u7cfb\u7edf\u7248\u672c\u8fc7\u4f4e\u6216\u67b6\u6784\u4e0d\u5339\u914d<\/td>\n<td align=\"left\">1. \u786e\u8ba4 Windows \u7248\u672c \u2265 1903&#xff08;x64&#xff09;2. \u4e0b\u8f7d\u4e0e\u7cfb\u7edf\u67b6\u6784\u5339\u914d\u7684\u5305&#xff08;\u901a\u5e38\u4e3a x64&#xff09;3. \u5c1d\u8bd5\u901a\u8fc7\u5fae\u8f6f\u5546\u5e97\u5b89\u88c5&#xff08;\u65b9\u5f0f A&#xff09;<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">\u5b89\u88c5\u540e\u65e0\u6cd5\u8bbe\u7f6e\u7528\u6237\u540d\u5bc6\u7801<\/td>\n<td align=\"left\">\u7cfb\u7edf\u533a\u57df\u8bbe\u7f6e\u6216\u7528\u6237\u540d\u51b2\u7a81<\/td>\n<td align=\"left\">1. \u786e\u4fdd\u7cfb\u7edf\u533a\u57df\u8bbe\u7f6e\u4e3a\u4e2d\u6587&#xff08;\u7b80\u4f53&#xff0c;\u4e2d\u56fd&#xff09;2. \u4f7f\u7528\u7eaf\u82f1\u6587\u7528\u6237\u540d&#xff08;\u4e0d\u542b\u7a7a\u683c\u548c\u7279\u6b8a\u5b57\u7b26&#xff09;3. \u5728 PowerShell \u4e2d\u8fd0\u884c wsl &#8211;unregister &lt;\u53d1\u884c\u7248\u540d&gt; \u540e\u91cd\u65b0\u5b89\u88c5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u4ee5\u4e0a\u65b9\u6848\u4ecd\u65e0\u6cd5\u89e3\u51b3\u60a8\u7684\u95ee\u9898&#xff0c;\u5efa\u8bae\u67e5\u9605 WSL \u5b98\u65b9\u6587\u6863 \u6216\u793e\u533a\u8bba\u575b\u5bfb\u6c42\u5e2e\u52a9\u3002<\/p>\n<hr \/>\n<h4>\u65b9\u6cd5\u4e8c&#xff1a;\u4f18\u5316\u7f51\u7edc\u73af\u5883\u540e\u91cd\u8bd5&#xff08;\u5907\u7528\u65b9\u6848&#xff09;<\/h4>\n<p>\u5982\u679c\u7531\u4e8e\u73af\u5883\u9650\u5236\u5fc5\u987b\u4f7f\u7528 wsl &#8211;install \u547d\u4ee4&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u901a\u7528\u7f51\u7edc\u4f18\u5316\u65b9\u6cd5&#xff0c;\u6539\u5584\u4e0e\u5fae\u8f6f\u670d\u52a1\u5668\u7684\u8fde\u63a5\u7a33\u5b9a\u6027\u3002<\/p>\n<h5>1. \u66f4\u6539 DNS \u670d\u52a1\u5668&#xff08;\u9996\u9009\u65b9\u6848&#xff09;<\/h5>\n<p>\u4e0d\u7a33\u5b9a\u7684 DNS \u89e3\u6790\u662f\u5bfc\u81f4\u201c\u8fde\u63a5\u88ab\u91cd\u7f6e\u201d\u7684\u5e38\u89c1\u539f\u56e0\u3002\u5c06 DNS \u4fee\u6539\u4e3a\u516c\u5171 DNS \u53ef\u80fd\u89e3\u51b3\u95ee\u9898&#xff1a;<\/p>\n<li>\u6253\u5f00 \u63a7\u5236\u9762\u677f -&gt; \u7f51\u7edc\u548c\u5171\u4eab\u4e2d\u5fc3 -&gt; \u70b9\u51fb\u4f60\u6b63\u5728\u4f7f\u7528\u7684\u7f51\u7edc\u8fde\u63a5&#xff08;\u5982 WLAN \u6216 \u4ee5\u592a\u7f51&#xff09;\u3002<\/li>\n<li>\u70b9\u51fb \u5c5e\u6027 -&gt; \u53cc\u51fb Internet \u534f\u8bae\u7248\u672c 4 (TCP\/IPv4)\u3002<\/li>\n<li>\u9009\u62e9\u201c\u4f7f\u7528\u4e0b\u9762\u7684 DNS \u670d\u52a1\u5668\u5730\u5740\u201d&#xff0c;\u5e76\u586b\u5165&#xff1a;\n<ul>\n<li>\u9996\u9009 DNS \u670d\u52a1\u5668&#xff1a;8.8.8.8 (Google Public DNS)<\/li>\n<li>\u5907\u7528 DNS \u670d\u52a1\u5668&#xff1a;8.8.4.4 \u6216 114.114.114.114 (\u56fd\u5185\u5907\u7528)<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u4fdd\u5b58\u8bbe\u7f6e\u3002<\/li>\n<li>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00 CMD \u6216 PowerShell&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5237\u65b0 DNS \u7f13\u5b58&#xff1a;ipconfig \/flushdns\n <\/li>\n<li>\u5173\u95ed\u6240\u6709 CMD\/PowerShell \u7a97\u53e3&#xff0c;\u91cd\u65b0\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ba1\u7406\u5458 CMD&#xff0c;\u518d\u6b21\u5c1d\u8bd5\u8fd0\u884c wsl &#8211;install\u3002<\/li>\n<h5>2. \u4f7f\u7528\u7a33\u5b9a\u7684\u7f51\u7edc\u8fde\u63a5<\/h5>\n<ul>\n<li>\u5c1d\u8bd5\u5207\u6362\u7f51\u7edc&#xff1a;\u5982\u679c\u53ef\u80fd&#xff0c;\u8fde\u63a5\u624b\u673a\u70ed\u70b9\u6216\u5176\u4ed6\u7f51\u7edc\u73af\u5883\u8fdb\u884c\u5c1d\u8bd5\u3002<\/li>\n<li>\u907f\u5f00\u9ad8\u5cf0\u65f6\u6bb5&#xff1a;\u5728\u7f51\u7edc\u4f7f\u7528\u4f4e\u5cf0\u671f&#xff08;\u4f8b\u5982\u6df1\u591c\u6216\u6e05\u6668&#xff09;\u8fdb\u884c\u5b89\u88c5\u3002<\/li>\n<li>\u6682\u65f6\u5173\u95ed\u9632\u706b\u5899\/\u5b89\u5168\u8f6f\u4ef6&#xff1a;\u67d0\u4e9b\u5b89\u5168\u8f6f\u4ef6\u7684\u6d41\u91cf\u626b\u63cf\u53ef\u80fd\u4f1a\u5e72\u6270\u957f\u65f6\u95f4\u8fde\u63a5\u3002\u53ef\u5c1d\u8bd5\u6682\u65f6\u5173\u95ed\u540e\u518d\u8bd5&#xff08;\u64cd\u4f5c\u540e\u8bf7\u8bb0\u5f97\u91cd\u65b0\u5f00\u542f&#xff09;\u3002<\/li>\n<\/ul>\n<h3>\u91cd\u8981\u63d0\u793a&#xff1a;\u5982\u679c\u4e0a\u8ff0\u4f18\u5316\u540e wsl &#8211;install \u4ecd\u7136\u5931\u8d25&#xff0c;\u5f3a\u70c8\u5efa\u8bae\u60a8\u8f6c\u800c\u91c7\u7528 \u3010\u65b9\u6cd5\u4e00&#xff1a;\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5\u3011&#xff0c;\u8fd9\u662f\u6210\u529f\u7387\u6700\u9ad8\u3001\u6700\u4e0d\u53d7\u7f51\u7edc\u6ce2\u52a8\u5f71\u54cd\u7684\u65b9\u5f0f\u3002<\/h3>\n<h4>&#x1f4a1; \u8865\u5145\u6392\u9519\u63d0\u793a<\/h4>\n<ul>\n<li>BIOS \u865a\u62df\u5316\u672a\u5f00\u542f&#xff1a;\u5982\u679c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u63d0\u793a&#034;\u865a\u62df\u673a\u5e73\u53f0&#034;\u65e0\u6cd5\u542f\u7528&#xff0c;\u6216\u8005\u62a5\u9519 0x80370102&#xff0c;\u8bf7\u91cd\u542f\u7535\u8111\u8fdb\u5165 BIOS&#xff0c;\u627e\u5230 Virtualization Technology (VT-x\/AMD-V) \u5e76\u5c06\u5176\u8bbe\u7f6e\u4e3a Enabled&#xff08;\u5f00\u542f&#xff09;\u3002<\/li>\n<li>Windows \u7248\u672c\u8fc7\u4f4e&#xff1a;WSL 2 \u9700\u8981 Windows 10 \u7248\u672c 1903 (x64) \u6216\u66f4\u9ad8\u7248\u672c&#xff0c;\u63a8\u8350\u76f4\u63a5\u5347\u7ea7\u5230 Windows 10 22H2 \u6216 Windows 11 \u4ee5\u83b7\u5f97\u6700\u4f73\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4>\u2705 \u9a8c\u8bc1\u5b89\u88c5\u6210\u529f<\/h4>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u9a8c\u8bc1 WSL 2 \u5185\u6838\u548c Linux \u53d1\u884c\u7248\u662f\u5426\u5df2\u6b63\u786e\u5b89\u88c5\u5e76\u8fd0\u884c&#xff1a;<\/p>\n<li>\n<p>\u6253\u5f00 Ubuntu \u7ec8\u7aef&#xff1a;<\/p>\n<ul>\n<li>\u5728 Windows \u5f00\u59cb\u83dc\u5355\u4e2d\u641c\u7d22\u5e76\u6253\u5f00\u4f60\u5b89\u88c5\u7684 Ubuntu&#xff08;\u4f8b\u5982 \u201cUbuntu 24.04\u201d&#xff09;\u3002<\/li>\n<li>\u9996\u6b21\u6253\u5f00\u4f1a\u63d0\u793a\u4f60\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801&#xff08;\u5bc6\u7801\u8f93\u5165\u65f6\u4e0d\u4f1a\u663e\u793a&#xff0c;\u8f93\u5165\u540e\u6309\u56de\u8f66\u5373\u53ef&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1 WSL \u7248\u672c\u548c\u8fd0\u884c\u72b6\u6001&#xff1a;<\/p>\n<ul>\n<li>\u56de\u5230 Windows \u547d\u4ee4\u63d0\u793a\u7b26&#xff08;CMD&#xff09;\u6216 PowerShell&#xff08;\u7ba1\u7406\u5458\u6216\u975e\u7ba1\u7406\u5458\u5747\u53ef&#xff09;\u3002<\/li>\n<li>\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u67e5\u770b\u5df2\u5b89\u88c5\u7684 WSL \u53d1\u884c\u7248\u53ca\u5176\u7248\u672c\u548c\u72b6\u6001&#xff1a;wsl &#8211;list &#8211;verbose\n <\/li>\n<li>\u9884\u671f\u8f93\u51fa\u793a\u4f8b&#xff1a;  NAME            STATE           VERSION<br \/>\n* Ubuntu-24.04    Running         2<\/p>\n<ul>\n<li>STATE \u4e3a Running \u8868\u793a\u6b63\u5728\u8fd0\u884c&#xff0c;Stopped \u8868\u793a\u5df2\u505c\u6b62\u3002<\/li>\n<li>VERSION \u4e3a 2 \u8868\u793a\u6b63\u5728\u4f7f\u7528 WSL 2 \u5185\u6838\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1 Linux \u5185\u6838\u7248\u672c&#xff1a;<\/p>\n<ul>\n<li>\u5728 Ubuntu \u7ec8\u7aef \u4e2d&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<span class=\"token function\">uname<\/span> <span class=\"token parameter variable\">-a<\/span>\n <\/li>\n<li>\u9884\u671f\u8f93\u51fa\u793a\u4f8b&#xff1a;Linux DESKTOP-XXXXXX 5.15.133.1-microsoft-standard-WSL2 #1 SMP &#8230; x86_64 x86_64 x86_64 GNU\/Linux\n<ul>\n<li>\u8f93\u51fa\u4e2d\u5305\u542b WSL2 \u5b57\u6837&#xff0c;\u5373\u8868\u793a\u6b63\u5728\u4f7f\u7528 WSL 2 \u5185\u6838\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<p>\u9a8c\u8bc1\u901a\u8fc7\u6807\u5fd7&#xff1a;<\/p>\n<ul>\n<li>wsl &#8211;list &#8211;verbose \u663e\u793a\u53d1\u884c\u7248\u7248\u672c\u4e3a 2\u3002<\/li>\n<li>uname -a \u8f93\u51fa\u4e2d\u5305\u542b WSL2\u3002<\/li>\n<li>\u53ef\u4ee5\u5728 Ubuntu \u7ec8\u7aef\u4e2d\u6b63\u5e38\u4f7f\u7528 Linux \u547d\u4ee4&#xff08;\u5982 ls, pwd&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u9a8c\u8bc1\u5931\u8d25&#xff0c;\u8bf7\u68c0\u67e5\u4e0a\u8ff0\u5b89\u88c5\u6b65\u9aa4\u662f\u5426\u5168\u90e8\u5b8c\u6210&#xff0c;\u6216\u53c2\u8003\u524d\u9762\u7684\u6392\u9519\u63d0\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728CMD\u4e2d\u4f7f\u7528 wsl &#8211;install \u4e00\u952e\u5b89\u88c5 WSL \u65f6&#xff0c;\u9047\u5230\u201c\u4e0e\u670d\u52a1\u5668\u7684\u8fde\u63a5\u88ab\u91cd\u7f6e\u201d\u6216\u4e2d\u9014\u65ad\u5f00&#xff0c;99%\u7684\u539f\u56e0\u662f\u56e0\u4e3a\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668&#xff08;\u6216 GitHub&#xff09;\u4e0d\u7a33\u5b9a&#xff0c;\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u3002<br \/>\n\u8981\u5f7b\u5e95\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u653e\u5f03\u4e00\u952e\u547d\u4ee4&#xff0c;\u6539\u4e3a\u201c\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5\u201d\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4&#xff1a;<br \/>\n&#x1f4ca; \u5b89\u88c5\u51b3\u7b56\u6d41\u7a0b\u56fe<br \/>\n\u5f53 wsl<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9137,58,401,43],"topic":[],"class_list":["post-88365","post","type-post","status-publish","format-standard","hentry","category-server","tag-atomgit","tag-linux","tag-wsl","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \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\/88365.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5728CMD\u4e2d\u4f7f\u7528 wsl --install \u4e00\u952e\u5b89\u88c5 WSL \u65f6&#xff0c;\u9047\u5230\u201c\u4e0e\u670d\u52a1\u5668\u7684\u8fde\u63a5\u88ab\u91cd\u7f6e\u201d\u6216\u4e2d\u9014\u65ad\u5f00&#xff0c;99%\u7684\u539f\u56e0\u662f\u56e0\u4e3a\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668&#xff08;\u6216 GitHub&#xff09;\u4e0d\u7a33\u5b9a&#xff0c;\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u3002 \u8981\u5f7b\u5e95\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u653e\u5f03\u4e00\u952e\u547d\u4ee4&#xff0c;\u6539\u4e3a\u201c\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5\u201d\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4&#xff1a; &#x1f4ca; \u5b89\u88c5\u51b3\u7b56\u6d41\u7a0b\u56fe \u5f53 wsl\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/88365.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-31T18:40:36+00:00\" \/>\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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88365.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/88365.html\",\"name\":\"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-31T18:40:36+00:00\",\"dateModified\":\"2026-07-31T18:40:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/88365.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/88365.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/88365.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f\"}]},{\"@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":"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \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\/88365.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5728CMD\u4e2d\u4f7f\u7528 wsl --install \u4e00\u952e\u5b89\u88c5 WSL \u65f6&#xff0c;\u9047\u5230\u201c\u4e0e\u670d\u52a1\u5668\u7684\u8fde\u63a5\u88ab\u91cd\u7f6e\u201d\u6216\u4e2d\u9014\u65ad\u5f00&#xff0c;99%\u7684\u539f\u56e0\u662f\u56e0\u4e3a\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668&#xff08;\u6216 GitHub&#xff09;\u4e0d\u7a33\u5b9a&#xff0c;\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u3002 \u8981\u5f7b\u5e95\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u653e\u5f03\u4e00\u952e\u547d\u4ee4&#xff0c;\u6539\u4e3a\u201c\u624b\u52a8\u79bb\u7ebf\u5b89\u88c5\u201d\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u64cd\u4f5c\u6b65\u9aa4&#xff1a; &#x1f4ca; \u5b89\u88c5\u51b3\u7b56\u6d41\u7a0b\u56fe \u5f53 wsl","og_url":"https:\/\/www.wsisp.com\/helps\/88365.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-31T18:40:36+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/88365.html","url":"https:\/\/www.wsisp.com\/helps\/88365.html","name":"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-31T18:40:36+00:00","dateModified":"2026-07-31T18:40:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/88365.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/88365.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/88365.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010WSL+Linux\u3011\u56fd\u5185\u7f51\u7edc\u8fde\u63a5\u5fae\u8f6f\u5b98\u65b9\u670d\u52a1\u5668\uff08\u6216GitHub\uff09\u4e0d\u7a33\u5b9a\uff0c\u5bfc\u81f4\u4e0b\u8f7d\u5185\u6838\u6216Linux\u53d1\u884c\u7248\u65f6\u8d85\u65f6\u65ad\u5f00\u5982\u4f55\u89e3\u51b3\uff1f"}]},{"@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\/88365","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=88365"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/88365\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=88365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=88365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=88365"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=88365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}