{"id":1974,"date":"2018-10-19T20:05:32","date_gmt":"2018-10-19T12:05:32","guid":{"rendered":"https:\/\/zocodev.com\/?p=119"},"modified":"2018-10-19T20:05:32","modified_gmt":"2018-10-19T12:05:32","slug":"manually-install-wsl","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/manually-install-wsl.html","title":{"rendered":"\u624b\u52a8\u5b89\u88c5WSL\u53d1\u884c\u7248"},"content":{"rendered":"<p>\u8d81\u7740\u4e70\u7684\u65b0\u7b14\u8bb0\u672c\u5230\u8d27\u4ee5\u53caWindows 10 LTSC 2019\u7684\u53d1\u5e03\uff0c\u5c06\u7b14\u8bb0\u672c\u81ea\u5e26\u7684Windows 10 1803\u7ed9\u683c\u5f0f\u5316\u5b89\u88c5\u6210\u4e86Windows 10 LTSC 2019\uff0c\u88c5\u5b8c\u53d1\u73b0\uff0c\u56e0\u4e3aWindows 10 LTSC 2019\u6ca1\u6709\u9884\u88c5Windows Store\uff0c\u6ca1\u529e\u6cd5\u76f4\u63a5\u901a\u8fc7Windows Store\u76f4\u63a5\u5b89\u88c5Windows Subsystem for Linux\uff0c\u82b1\u4e86\u70b9\u65f6\u95f4\uff0c\u627e\u5230\u4e86\u529e\u6cd5\u624b\u52a8\u5b89\u88c5WSL\uff0c\u505a\u4e2a\u8bb0\u5f55\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u5b89\u88c5Windows 10 LTSC 2019\u5c31\u662f\u56e0\u4e3a\u53d7\u591f\u4e86Windows 10\u81ea\u5e26\u7684\u90a3\u4e00\u5806\u7528\u4e0d\u4e0a\u7684\u8f6f\u4ef6\u5305\uff0c\u518d\u52a0\u4e0a\u4e0d\u60f3\u518d\u5fcd\u53d7\u4ee4\u4ebaWindows 10\u90a3\u9971\u53d7\u8bdf\u75c5\u7684\u81ea\u52a8\u91cd\u542f\uff0c\u5b89\u88c5 Windows 10 LTSC 2019\u5f88\u7b80\u5355\uff0c\u4f46\u662f\u4e60\u60ef\u4e86Linux\u547d\u4ee4\u884c\uff0c\u5c31\u7b97\u4f7f\u7528Windows 10\uff0c\u6211\u4e5f\u8fd8\u662f\u559c\u6b22\u547d\u4ee4\u884c\u7684\u611f\u89c9\uff0c\u51b5\u4e14\u8fd8\u6709WSL\u8fd9\u4e48\u65b9\u4fbf\u7684\u4e1c\u897f\uff0cWSL\u8fd8\u662f\u8981\u5b89\u88c5\u4e0a\u7684\u6492\u3002<\/p>\n<p>\u6839\u636e\u6587\u6863\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u9664\u4e86Windows 10\u53ef\u4ee5\u4f7f\u7528\uff0cWindows Server 1709\u4e4b\u540e\u7684\u7248\u672c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u3002<\/p>\n<p>\u5176\u5b9e\u5b89\u88c5\u5f88\u7b80\u5355\uff0c\u53cd\u6b63\u6211\u662f\u89c9\u5f97\uff0c\u7528\u60ef\u4e86Linux\u7684\uff0c\u624b\u52a8\u5b89\u88c5WSL\u4e5f\u4e0d\u4f1a\u89c9\u5f97\u9ebb\u70e6\uff0c\u4f55\u51b5\u8fd8\u662f\u7edd\u5927\u90e8\u5206\u90fd\u80fd\u56fe\u5f62\u5316\u64cd\u4f5c\u662f\u5427\u3002<\/p>\n<p>\u548c\u5e38\u89c4\u7684Windows 10\u4e00\u6837\uff0c\u4e5f\u9700\u8981\u5230\u63a7\u5236\u9762\u677f\u2192\u7a0b\u5e8f\u2192\u542f\u7528\u6216\u5173\u95edWindows\u529f\u80fd\u91cc\u9762\uff0c\u628a\u9002\u7528\u4e8eLinux\u7684Windows\u5b50\u7cfb\u7edf\u529f\u80fd\u7ed9\u6253\u5f00\uff0c\u5982\u56fe\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/cloudbool.com\/archive\/wp-content\/uploads\/2018\/10\/Windows10-control-panel-enable-wsl.png\" alt=\"Windows10-control-panel-enable-wsl\" \/><br \/>\n\u70b9\u51fb\u786e\u5b9a\u4e4b\u540e\uff0c\u53ef\u80fd\u9700\u8981\u91cd\u542f\u4e00\u4e0b\u624d\u80fd\u751f\u6548\u3002<\/p>\n<p>\u7136\u540e\uff0c\u6309\u7167\u9700\u6c42\uff0c\u70b9\u51fb\u4e0b\u9762\u7684\u94fe\u63a5\u4e0b\u8f7d\u4e00\u4e2a\u559c\u6b22\u7684Linux\u53d1\u884c\u7248\uff1a<br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-ubuntu-1804\">Ubuntu 18.04<\/a><br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-ubuntu-1804-arm\">Ubuntu 18.04 ARM<\/a><br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-ubuntu-1604\">Ubuntu 16.04<\/a><br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-debian-gnulinux\">Debian GNU\/Linux<\/a> \uff08Debian 9\uff09<br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-kali-linux\">Kali Linux<\/a><br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-opensuse-42\">OpenSUSE<\/a><br \/>\n&#8211; <a href=\"https:\/\/aka.ms\/wsl-sles-12\">SLES<\/a><\/p>\n<p>\u6211\u559c\u6b22Debian\uff0c\u6240\u4ee5\u6211\u4e0b\u8f7d\u7684\u662fDebian GUN\/Linux\uff0c\u4e0b\u8f7d\u4e4b\u540e\uff0c\u6253\u5f00\u4fdd\u5b58\u4e0b\u8f7d\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u7136\u540e\u5c06\u4e0b\u8f7d\u6587\u4ef6\u7684\u540e\u7f00\u7531<strong>.appx<\/strong>\u6539\u6210<strong>.zip<\/strong>\uff0c\u7136\u540e\u53f3\u952e\uff0c\u9009\u62e9\u5168\u90e8\u89e3\u538b\u7f29\uff0c\u5982\u56fe\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/cloudbool.com\/archive\/wp-content\/uploads\/2018\/10\/wsl-unzip.png\" alt=\"wsl-unzip\" \/><\/p>\n<p>\u7136\u540e\u70b9\u8fdb\u89e3\u538b\u4e4b\u540e\u90a3\u4e2a\u6587\u4ef6\u5939\uff0c\u91cc\u9762\u6709\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u6bd4\u5982\u6211\u4e0b\u8f7d\u7684Debian\u7684\u53d1\u884c\u7248\uff0c\u91cc\u9762\u6709\u4e2a<strong>debian.exe<\/strong>\uff0c\u53cc\u51fb\uff0c\u51fa\u73b0\u4e2acmd\u754c\u9762\uff0c\u7a0d\u7b49\u7247\u523b\uff0c\u4f1a\u8981\u6c42\u8f93\u5165\u4e00\u4e2a\u7528\u6237\u540d\uff0c\u4ee5\u53ca\u8f93\u5165\u5bf9\u5e94\u7684\u5bc6\u7801\u548c\u91cd\u590d\u5bc6\u7801\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/cloudbool.com\/archive\/wp-content\/uploads\/2018\/10\/wsl-install-intial.png\" alt=\"wsl-install-intial\" \/><\/p>\n<p>\u7136\u540e\uff0c\u5c31\u6ca1\u6709\u7136\u540e\u4e86\uff0c\u8fd9\u4e48\u51e0\u6b65\u5c31\u5b89\u88c5\u6210\u529f\u4e86\uff0c\u5982\u679c\u4e0d\u4fe1\uff0c\u53ef\u4ee5\u6253\u5f00cmd\uff0c\u7136\u540e\u8f93\u5165bash\uff0c\u5c31\u80fd\u770b\u5230\u719f\u6089\u7684Linux\u547d\u4ee4\u884c\u754c\u9762\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/cloudbool.com\/archive\/wp-content\/uploads\/2018\/10\/cmd-bash-cli-env.png\" alt=\"cmd-bash-cli-env.png\" \/><\/p>\n<p>\u662f\u4e0d\u662f\u5f88\u7b80\u5355\u54c8\u54c8\u54c8\u54c8\u3002<\/p>\n<p>\u8fdb\u5165bash\u4e4b\u540e\uff0c\u5982\u679c\u60f3\u8981\u4f7f\u7528root\u6743\u9650\uff0c\u5728\u547d\u4ee4\u524d\u9762\u52a0\u4e0a<strong>sudo<\/strong>\uff0c\u7136\u540e\u8f93\u5165\u4e0a\u9762\u7684\u5bc6\u7801\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u53c2\u8003\u6587\u6863\uff1a<br \/>\nhttps:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-manual<br \/>\nhttps:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-on-server<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8d81\u7740\u4e70\u7684\u65b0\u7b14\u8bb0\u672c\u5230\u8d27\u4ee5\u53caWindows 10 LTSC 2019\u7684\u53d1\u5e03\uff0c\u5c06\u7b14\u8bb0\u672c\u81ea\u5e26\u7684Windows 10 1 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/manually-install-wsl.html\"> <span class=\"screen-reader-text\">\u624b\u52a8\u5b89\u88c5WSL\u53d1\u884c\u7248<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[12],"tags":[27,29,63,112],"class_list":["post-1974","post","type-post","status-publish","format-standard","hentry","category-app","tag-debian","tag-debian-9","tag-linux","tag-windows"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=1974"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1974\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=1974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=1974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=1974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}