{"id":416516,"date":"2024-06-30T00:59:56","date_gmt":"2024-06-30T00:59:56","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=416516"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-30T00:59:56","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=416516","title":{"rendered":"<span>\u041f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 Windows \u0434\u043b\u044f Linux 2 (WSL2) \u0441\u0442\u0430\u043b\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043d\u0430 \u041e\u0421 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 1903 \u0438 \u0432\u0435\u0440\u0441\u0438\u0438 1909<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/lb\/ls\/9-\/lbls9-vfrwplrfhswwvbfyo9eha.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/lb\/ls\/9-\/lbls9-vfrwplrfhswwvbfyo9eha.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  20 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2020 \u0433\u043e\u0434\u0430 Microsoft \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043a\u0443\u043c\u0443\u043b\u044f\u0442\u0438\u0432\u043d\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/4566116\/windows-10-update-kb4566116\" rel=\"nofollow\">KB4566116<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0442\u0447\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u041e\u0421 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 1903 \u0438 \u0432\u0435\u0440\u0441\u0438\u0438 1909 \u043c\u043e\u0433\u0443\u0442 <a href=\"https:\/\/www.bleepingcomputer.com\/news\/microsoft\/wsl2-now-rolling-out-to-devices-running-windows-10-1903-and-1909\/\" rel=\"nofollow\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c<\/a> \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b Windows \u0434\u043b\u044f Linux (WSL 2). \u0420\u0430\u043d\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f WSL \u0431\u044b\u043b\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 2004. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e WSL 2 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 Windows 10 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043d\u043e \u0438 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0435 GUI-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0435 Microsoft \u0434\u043b\u044f <a href=\"https:\/\/github.com\/microsoft\/WSL2-Linux-Kernel\" rel=\"nofollow\">WSL2 \u044f\u0434\u0440\u043e<\/a> \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043e \u043d\u0430 \u0432\u044b\u043f\u0443\u0441\u043a\u0435 \u044f\u0434\u0440\u0430 Linux 4.19.<\/p>\n<p>  <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/wsl\/install-win10#update-to-wsl-2\" rel=\"nofollow\">\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f<\/a> \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b Windows \u0434\u043b\u044f Linux \u0438 \u043e\u0431\u043d\u043e\u0432\u0435\u043d\u0438\u044e \u0434\u043e WSL 2. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux \u043d\u0430 WSL 1 \u0438\u043b\u0438 WSL 2, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/habr.com\/ru\/news\/t\/515726\/\">Kali Linux<\/a> \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0438 <a href=\"https:\/\/www.kali.org\/docs\/wsl\/win-kex\/\" rel=\"nofollow\">Win-Kex<\/a> (Windows + Kali Desktop EXperience). \u0421\u0435\u0439\u0447\u0430\u0441 \u0435\u0449\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 Microsoft Store \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432 WSL: Ubuntu, Debian GNU\/Linux, Fedora, Alpine, SUSE \u0438 openSUSE. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/9f8\/30d\/640\/9f830d6400fffdd7f0f0b6c4941b1a99.png\" alt=\"image\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/9f8\/30d\/640\/9f830d6400fffdd7f0f0b6c4941b1a99.png\"\/><a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/wsl\/compare-versions\" rel=\"nofollow\">\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435<\/a> \u0432\u0435\u0440\u0441\u0438\u0439 WSL 1 \u0438 WSL 2.<\/p>\n<p>  \u041a\u0430\u043a \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 Windows \u0434\u043b\u044f Linux.<\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0442\u044c PowerShell (\u0441\u0435\u0439\u0447\u0430\u0441 \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u043e\u0434 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u043c) \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c:   <\/p>\n<pre><code class=\"bash\">Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux<\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u041f\u041a.<\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0442\u044c PowerShell \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c:   <\/p>\n<pre><code class=\"bash\">dism.exe \/online \/enable-feature \/featurename:VirtualMachinePlatform \/all \/norestart<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">dism.exe \/online \/enable-feature \/featurename:Microsoft-Windows-Subsystem-Linux \/all \/norestart<\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u041f\u041a.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e <a href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/wsl\/wsl2-kernel\" rel=\"nofollow\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c<\/a> \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c WSL2.<\/p>\n<p>  \u041f\u043e\u0442\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c PowerShell \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c:   <\/p>\n<pre><code class=\"bash\">wsl --set-default-version 2<\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Linux \u0438\u0437 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Microsoft Store.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0438\u043f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Linux \u0441 WSL1 \u043d\u0430 WSL2 \u043d\u0443\u0436\u043d\u043e \u0432 PowerShell \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c:   <\/p>\n<pre><code class=\"bash\">wsl --set-version \"dist Name Linux\" 2<\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\u0421\u043c. \u0442\u0430\u043a\u0436\u0435:  <\/p>\n<ul>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/jugru\/blog\/502994\/\">\u0427\u0442\u043e Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u043d\u0430 Build: winget, GUI-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 WSL2 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435<\/a>\u00bb<\/li>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/company\/ruvds\/blog\/511912\/\">\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b WSL 1 \u0438 WSL 2. \u0421\u0442\u043e\u0438\u0442 \u043b\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c?<\/a>\u00bb<\/li>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/news\/t\/507306\/\">\u0412 Windows Subsystem for Linux (WSL) \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e\u0443\u0441\u043a\u043e\u0440\u0438\u0442\u0435\u043b\u044f\u0445<\/a>\u00bb<\/li>\n<li>\u00ab<a href=\"https:\/\/habr.com\/ru\/news\/t\/492490\/\">\u0412 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 2004 \u043f\u043e\u043e\u0431\u0435\u0449\u0430\u043b\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2<\/a>\u00bb<\/li>\n<\/ul>\n<\/blockquote>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/516054\/\"> https:\/\/habr.com\/ru\/articles\/516054\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/lb\/ls\/9-\/lbls9-vfrwplrfhswwvbfyo9eha.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/lb\/ls\/9-\/lbls9-vfrwplrfhswwvbfyo9eha.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  20 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2020 \u0433\u043e\u0434\u0430 Microsoft \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0430 \u043a\u0443\u043c\u0443\u043b\u044f\u0442\u0438\u0432\u043d\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 <a href=\"https:\/\/support.microsoft.com\/en-us\/help\/4566116\/windows-10-update-kb4566116\" rel=\"nofollow\">KB4566116<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0442\u0447\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u041e\u0421 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 1903 \u0438 \u0432\u0435\u0440\u0441\u0438\u0438 1909 \u043c\u043e\u0433\u0443\u0442 <a href=\"https:\/\/www.bleepingcomputer.com\/news\/microsoft\/wsl2-now-rolling-out-to-devices-running-windows-10-1903-and-1909\/\" rel=\"nofollow\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c<\/a> \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b Windows \u0434\u043b\u044f Linux (WSL 2). \u0420\u0430\u043d\u0435\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f WSL \u0431\u044b\u043b\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 Windows 10 \u0432\u0435\u0440\u0441\u0438\u0438 2004.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-416516","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/416516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=416516"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/416516\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=416516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=416516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=416516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}