{"id":38569,"date":"2024-11-26T16:07:35","date_gmt":"2024-11-26T08:07:35","guid":{"rendered":"https:\/\/fwq.ai\/blog\/38569\/"},"modified":"2024-11-26T16:07:35","modified_gmt":"2024-11-26T08:07:35","slug":"%e4%bf%ae%e5%a4%8d%e5%8d%87%e7%ba%a7windows-11%e7%a0%b4%e5%9d%8fwindows-linux%e5%ad%90%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/38569\/","title":{"rendered":"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf"},"content":{"rendered":"<p>\u5728\u60a8\u7684 pc \u5347\u7ea7\u5230 windows 11 \u540e\uff0c\u9002\u7528\u4e8e  \u7684 windows \u5b50\u7cfb\u7edf (wsl) \u505c\u6b62\u5de5\u4f5c\u7684\u6f5c\u5728\u539f\u56e0\u6709\u591a\u79cd\u3002\u503c\u5f97\u5e86\u5e78\u7684\u662f\uff0c\u6545\u969c\u4e0d\u592a\u53ef\u80fd\u662f\u6700\u7ec8\u7684\uff0c\u5c3d\u7ba1\u60a8\u53ef\u80fd\u5fc5\u987b\u5c1d\u8bd5\u4e00\u4e9b\u4e0d\u540c\u7684\u4fee\u590d\u624d\u80fd\u4f7f\u5176\u518d\u6b21\u8fd0\u884c.<\/p>\n<p>\u4ee5\u4e0b\u662f\u5728\u5347\u7ea7\u5230 Windows 11 \u540e\u8ba9\u9002\u7528\u4e8e Linux \u7684 Windows \u5b50\u7cfb\u7edf\u518d\u6b21\u8fd0\u884c\u7684\u51e0\u79cd\u65b9\u6cd5\u3002<\/p>\n<h2>1.\u68c0\u67e5\u662f\u5426\u542f\u7528\u4e86WSL<\/h2>\n<p>\u5347\u7ea7\u5230\u8f83\u65b0\u7248\u672c\u7684\u4f1a\u7834\u574f\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u548c\u529f\u80fd\u5e76\u4e0d\u7f55\u89c1\u3002 \u56e0\u6b64\uff0c\u867d\u7136\u8fd9\u542c\u8d77\u6765\u5f88\u660e\u663e\uff0c\u4f46\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u68c0\u67e5 WSL \u5e76\u6ca1\u6709\u88ab\u7b80\u5355\u5730\u7981\u7528\u5e94\u8be5\u662f\u60a8\u7684\u7b2c\u4e00\u6b65\u3002 \u68c0\u67e5\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/172811595142455.jpg\" class=\"aligncenter\" title=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe\" alt=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe\" \/><\/p>\n<li>\u70b9\u51fb <strong>\u7ef4\u4fee<\/strong> \u6309\u94ae\uff0c\u5982\u679c\u9700\u8981\u7ef4\u4fee\uff0c\u8bf7\u6309\u7167\u5c4f\u5e55\u4e0a\u7684\u8bf4\u660e\u8fdb\u884c\u64cd\u4f5c\u3002\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/172811595195259.jpg\" class=\"aligncenter\" title=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe1\" alt=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe1\" \/><\/p>\n<\/li>\n<p>\u68c0\u67e5 WSL \u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002 \u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u5c1d\u8bd5\u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5 Linux \u5206\u53d1\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<h2>4. \u4f7f\u7528 Microsoft Store \u5f3a\u5236\u6253\u5f00 WSL<\/h2>\n<p>\u5982\u679c WSL \u5df2\u542f\u7528\u4f46\u4ecd\u62d2\u7edd\u6253\u5f00\uff0c\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u901a\u8fc7 Microsoft Store \u5e94\u7528\u5f3a\u5236\u542f\u52a8\u3002 \u5f53\u76f4\u63a5\u6253\u5f00 WSL \u4e0d\u8d77\u4f5c\u7528\u65f6\uff0c\u8fd9\u6709\u65f6\u53ef\u4ee5\u4fee\u590d\u4e34\u65f6\u6545\u969c\u3002<\/p>\n<ol>\n<li>\u6253\u5f00 Microsoft Store \u5e94\u7528\u5e76\u641c\u7d22<strong>WSL<\/strong>.<\/li>\n<li>\u5728 WSL \u7684\u5546\u5e97\u9875\u9762\u4e0a\uff0c\u60a8\u5e94\u8be5\u770b\u5230 <strong>\u6253\u5f00<\/strong> \u6309\u94ae\u3002 \u5982\u679c\u6309\u94ae\u8bf4 <strong>\u66f4\u65b0<\/strong>\uff0c\u5355\u51fb\u5b83\u4ee5\u66f4\u65b0\u5e94\u7528\u7a0b\u5e8f\u3002\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/172811595182227.jpg\" class=\"aligncenter\" title=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe2\" alt=\"\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u63d2\u56fe2\" \/><\/p>\n<\/li>\n<li>\u70b9\u51fb <strong>\u6253\u5f00<\/strong> \u6309\u94ae\uff0c\u9ed8\u8ba4\u7684 Linux \u53d1\u884c\u7248\u5e94\u7528\u7a0b\u5e8f\u5e94\u8be5\u4f1a\u542f\u52a8\u3002<\/li>\n<li>\u5982\u679c\u6539\u4e3a\u6253\u5f00\u547d\u4ee4\u884c\u754c\u9762\u7a97\u53e3\uff0c\u5b83\u53ef\u80fd\u4f1a\u544a\u8bc9\u60a8\u7f3a\u5c11\u6240\u9700\u7684\u529f\u80fd\u3002 \u770b <strong>\u542f\u7528 Hyper-V \u548c\u865a\u62df\u673a\u5e73\u53f0<\/strong> \u591a\u4e8e\u3002<\/li>\n<\/ol>\n<p>\u5982\u679c\u5f3a\u5236\u6253\u5f00 WSL \u4e0d\u8d77\u4f5c\u7528\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u60a8\u6b63\u5728\u4f7f\u7528\u7684 Linux \u53d1\u884c\u7248\u5e94\u7528\u7a0b\u5e8f\u3002 \u6253\u5f00\u5546\u5e97\uff0c\u641c\u7d22\u60a8\u7684\u53d1\u884c\u7248\uff0c\u7136\u540e\u5355\u51fb <strong>\u6253\u5f00<\/strong> \u6309\u94ae\u3002<\/p>\n<h2>5. \u5378\u8f7d\u6700\u8fd1\u7684\u66f4\u65b0\u4ee5\u4fee\u590d WSL<\/h2>\n<p>\u5982\u679c WSL \u5728\u5b89\u88c5\u66f4\u65b0\u540e\u505c\u6b62\u5de5\u4f5c\uff0c\u5219\u66f4\u65b0\u53ef\u80fd\u662f\u539f\u56e0\u3002 \u60a8\u53ef\u4ee5\u5378\u8f7d\u6700\u65b0\u7684\u66f4\u65b0\u4ee5\u67e5\u770b\u662f\u5426\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u5378\u8f7d Windows \u66f4\u65b0\u5e76\u4e0d\u662f\u4e00\u4e2a\u590d\u6742\u7684\u8fc7\u7a0b\uff0c\u5373\u4f7f\u60a8\u4ee5\u524d\u4ece\u672a\u505a\u8fc7\u3002<\/p>\n<p>\u5982\u679c\u5728\u5378\u8f7d\u66f4\u65b0\u540e\uff0cWSL \u4ecd\u7136\u4e0d\u8d77\u4f5c\u7528\uff0c\u6700\u597d\u91cd\u65b0\u5b89\u88c5\u5b83\u3002 \u66f4\u65b0\u901a\u5e38\u5305\u62ec\u5b89\u5168\u548c\u6027\u80fd\u8c03\u6574\uff0c\u56e0\u6b64\u901a\u5e38\u5efa\u8bae\u4fdd\u6301 Windows \u66f4\u65b0\u3002<\/p>\n<h2>6. \u68c0\u67e5\u6076\u610f\u8f6f\u4ef6\u662f\u5426\u963b\u6b62 WSL<\/h2>\n<p>\u5c1d\u8bd5\u8ba9 WSL \u6b63\u5e38\u5de5\u4f5c\u7684\u6700\u540e\u4e00\u4ef6\u4e8b\u662f\u626b\u63cf\u6076\u610f\u8f6f\u4ef6\u3002 \u6076\u610f\u8f6f\u4ef6\u963b\u6b62 Linux \u7684 Windows \u5b50\u7cfb\u7edf\u8fd0\u884c\u7684\u53ef\u80fd\u6027\u5f88\u4f4e\uff0c\u4f46\u5e76\u975e\u95fb\u6240\u672a\u95fb\u3002<\/p>\n<p>\u5728 Microsoft Defender \u6216\u60a8\u4f7f\u7528\u7684\u4efb\u4f55\u7b2c\u4e09\u65b9\u9632\u75c5\u6bd2\u8f6f\u4ef6\u4e2d\u8fd0\u884c\u5168\u9762\u626b\u63cf\u3002 \u9694\u79bb\u6216\u5220\u9664\u9632\u75c5\u6bd2\u626b\u63cf\u53d1\u73b0\u7684\u4efb\u4f55\u6076\u610f\u8f6f\u4ef6\u3002 \u7136\u540e\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u5e76\u5c1d\u8bd5\u4f7f\u7528 WSL \u6765\u67e5\u770b\u662f\u5426\u662f\u95ee\u9898\u6240\u5728\u3002<\/p>\n<h2>\u5347\u7ea7\u5230 Windows 11 \u540e\u4fee\u590d WSL<\/h2>\n<p>\u5347\u7ea7\u5230 Windows 11 \u901a\u5e38\u4f1a\u5f88\u987a\u5229\uff0c\u4f46\u5e94\u7528\u548c\u529f\u80fd\u5076\u5c14\u4f1a\u51fa\u73b0\u6545\u969c\u3002 \u5982\u679c\u60a8\u5728\u5347\u7ea7\u5230\u6700\u65b0\u7684 Windows \u64cd\u4f5c\u7cfb\u7edf\u540e\u53d1\u73b0 WSL \u4e0d\u518d\u5de5\u4f5c\uff0c\u8bf7\u4e0d\u8981\u62c5\u5fc3\uff0c\u901a\u5e38\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u4fee\u590d\u65b9\u6cd5\u3002 \u60a8\u53ef\u80fd\u53ea\u9700\u8981\u5728 Windows \u7cfb\u7edf\u8bbe\u7f6e\u4e2d\u91cd\u65b0\u542f\u7528\u8be5\u529f\u80fd\uff0c\u4f46\u5982\u679c\u6ca1\u6709\uff0c\u8fd0\u884c\u6b64\u5904\u7684\u5176\u4ed6\u4fee\u590d\u901a\u5e38\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<h2>\u63a8\u8350\uff1a\u5982\u4f55\u4fee\u590dScript\u811a\u672c\u9519\u8bef<\/h2>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4fee\u590d\u5347\u7ea7Windows 11\u7834\u574fWindows Linux\u5b50\u7cfb\u7edf\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u60a8\u7684 pc \u5347\u7ea7\u5230 windows 11 \u540e\uff0c\u9002\u7528\u4e8e \u7684 windows \u5b50\u7cfb\u7edf (wsl) \u505c\u6b62\u5de5\u4f5c\u7684\u6f5c\u5728\u539f\u56e0\u6709\u591a\u79cd\u3002\u503c\u5f97\u5e86\u5e78\u7684\u662f\uff0c\u6545\u969c\u4e0d\u592a\u53ef\u80fd\u662f\u6700\u7ec8\u7684\uff0c\u5c3d\u7ba1\u60a8\u53ef\u80fd\u5fc5\u987b\u5c1d\u8bd5\u4e00\u4e9b\u4e0d\u540c\u7684\u4fee\u590d\u624d\u80fd\u4f7f\u5176\u518d\u6b21\u8fd0\u884c. \u4ee5\u4e0b\u662f\u5728\u5347\u7ea7\u5230 Windows 11 \u540e\u8ba9\u9002\u7528\u4e8e Linux \u7684 Windows \u5b50\u7cfb\u7edf\u518d\u6b21\u8fd0\u884c\u7684\u51e0\u79cd\u65b9\u6cd5\u3002 1.\u68c0\u67e5\u662f\u5426\u542f\u7528\u4e86WSL \u5347\u7ea7\u5230\u8f83\u65b0\u7248\u672c\u7684\u4f1a\u7834\u574f\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u548c\u529f\u80fd\u5e76\u4e0d\u7f55\u89c1\u3002 \u56e0\u6b64\uff0c\u867d\u7136\u8fd9\u542c\u8d77\u6765\u5f88\u660e\u663e\uff0c\u4f46\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u68c0\u67e5 WSL \u5e76\u6ca1\u6709\u88ab\u7b80\u5355\u5730\u7981\u7528\u5e94\u8be5\u662f\u60a8\u7684\u7b2c\u4e00\u6b65\u3002 \u68c0\u67e5\u65b9\u6cd5\u5982\u4e0b\uff1a \u70b9\u51fb \u7ef4\u4fee \u6309\u94ae\uff0c\u5982\u679c\u9700\u8981\u7ef4\u4fee\uff0c\u8bf7\u6309\u7167\u5c4f\u5e55\u4e0a\u7684\u8bf4\u660e\u8fdb\u884c\u64cd\u4f5c\u3002 \u68c0\u67e5 WSL \u662f\u5426\u6b63\u5e38\u5de5\u4f5c\u3002 \u5982\u679c\u6ca1\u6709\uff0c\u8bf7\u5c1d\u8bd5\u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5 Linux \u5206\u53d1\u5e94\u7528\u7a0b\u5e8f\u3002 4. \u4f7f\u7528 Microsoft Store \u5f3a\u5236\u6253\u5f00 WSL \u5982\u679c WSL \u5df2\u542f\u7528\u4f46\u4ecd\u62d2\u7edd\u6253\u5f00\uff0c\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u901a\u8fc7 Microsoft Store \u5e94\u7528\u5f3a\u5236\u542f\u52a8\u3002 \u5f53\u76f4\u63a5\u6253\u5f00 WSL \u4e0d\u8d77\u4f5c\u7528\u65f6\uff0c\u8fd9\u6709\u65f6\u53ef\u4ee5\u4fee\u590d\u4e34\u65f6\u6545\u969c\u3002 \u6253\u5f00 Microsoft Store \u5e94\u7528\u5e76\u641c\u7d22WSL. \u5728 WSL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-38569","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/38569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=38569"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/38569\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=38569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=38569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=38569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}