{"id":33154,"date":"2019-10-31T21:51:01","date_gmt":"2019-10-31T18:51:01","guid":{"rendered":"https:\/\/prohoster.info\/blog\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\/"},"modified":"2019-10-31T21:51:01","modified_gmt":"2019-10-31T18:51:01","slug":"microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sv\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","title":{"rendered":"Microsoft har tillk\u00e4nnagett WSL2 subsystem med inbyggd Linux-k\u00e4rna","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Microsoft F\u00f6retaget <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/announcing-wsl-2\/\">har presenterat<\/a><\/noindex> Vid konferensen Microsoft Build 2019, som p\u00e5g\u00e5r nu, presenterades en uppdaterad version av WSL2 (Windows Subsystem for Linux), avsedd f\u00f6r att k\u00f6ra Linux-exekverbara filer i Windows. Den centrala <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/shipping-a-linux-kernel-with-windows\/\">funktionaliteten<\/a><\/noindex> i den andra versionen \u00e4r att den levereras med ett fullst\u00e4ndigt Linux-k\u00e4rna, ist\u00e4llet f\u00f6r en mellanliggande l\u00f6sning som \u00f6vers\u00e4tter Linux-systemanrop till Windows-systemanrop i realtid. <\/p>\n<p>En testversion av WSL2 kommer att erbjudas i slutet av juni i experimentella byggnader <noindex><a rel=\"nofollow\" href=\"https:\/\/insider.windows.com\/en-us\/\">Windows Insider<\/a><\/noindex>. St\u00f6det f\u00f6r WSL1, som \u00e4r baserat p\u00e5 en emulator, kommer att forts\u00e4tta och anv\u00e4ndare kommer att kunna anv\u00e4nda det sida vid sida med WSL2. F\u00f6r att k\u00f6ra Linux-k\u00e4rnan i Windows-milj\u00f6 anv\u00e4nds en l\u00e4ttvikts virtuell maskin, som redan anv\u00e4nds i Azure. <\/p>\n<p>I WSL2 f\u00f6r Windows 10 kommer en komponent med den standard Linux-k\u00e4rna 4.19 att erbjudas. Efterhand som uppdateringar sl\u00e4pps f\u00f6r LTS-grenen 4.19, kommer k\u00e4rnan f\u00f6r WSL2 att uppdateras snabbt genom Windows Update och testas i Microsofts kontinuerliga integrationsinfrastruktur. WSL2 kommer att anv\u00e4nda samma k\u00e4rna som anv\u00e4nds i Azure-infrastrukturen, vilket kommer att f\u00f6renkla underh\u00e5llet. <\/p>\n<p>Alla f\u00f6rberedda \u00e4ndringar f\u00f6r k\u00e4rnintegration med WSL kommer att publiceras under den fria licensen GPLv2 och kommer att \u00f6verf\u00f6ras upstream. De f\u00f6rberedda patcharna inkluderar optimeringar f\u00f6r att minska k\u00e4rnans starttid, minska minnesanv\u00e4ndningen och h\u00e5lla k\u00e4rnan p\u00e5 en minimalt n\u00f6dv\u00e4ndig upps\u00e4ttning drivrutiner och underliggande system. Den f\u00f6reslagna k\u00e4rnan kan fungera som en transparent ers\u00e4ttning f\u00f6r den emuleringsl\u00f6sning som erbjuds i WSL1. Tillg\u00e5ngen till k\u00e4llkoden kommer att m\u00f6jligg\u00f6ra f\u00f6r entusiaster att skapa sina egna Linux-k\u00e4rnbyggnader f\u00f6r WSL2, f\u00f6r vilket n\u00f6dv\u00e4ndiga instruktioner kommer att f\u00f6rberedas.<\/p>\n<p>Anv\u00e4ndningen av standardk\u00e4rnan med optimeringar fr\u00e5n Azure-projektet kommer att s\u00e4kerst\u00e4lla fullst\u00e4ndig kompatibilitet med Linux p\u00e5 systemsamtalsniv\u00e5 och m\u00f6jligg\u00f6ra s\u00f6ml\u00f6s k\u00f6rning av Docker-containrar i Windows, samt implementera st\u00f6d f\u00f6r filsystem baserat p\u00e5 FUSE-mekanismen. Dessutom har WSL2 avsev\u00e4rt \u00f6kat prestandan vid in- och utdata och filoperationer, vilket tidigare varit en flaskhals f\u00f6r WSL1. Till exempel \u00e4r WSL2 20 g\u00e5nger snabbare \u00e4n WSL1 vid utpackning av komprimerade arkiv, och n\u00e4r man utf\u00f6r operationer<br \/>\n &#171;git clone&#187;, &#171;npm install&#187;, &#171;apt update&#187; \u0438 &#171;apt upgrade&#187; \u0432 2-5 \u0440\u0430\u0437.<\/p>\n<p>Trots leveransen av Linux-k\u00e4rnan kommer WSL2, precis som tidigare, inte att tillhandah\u00e5lla en f\u00e4rdig upps\u00e4ttning komponenter f\u00f6r anv\u00e4ndaromr\u00e5det. Dessa komponenter installeras separat och baseras p\u00e5 byggnader fr\u00e5n olika distributioner. Till exempel f\u00f6r installation i WSL i katalogen Microsoft Store. <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-win10\">erbjuds<\/a><\/noindex> kompilering <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/ubuntu\/9nblggh4msv6\">Ubuntu<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48215\">Alpine<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/suse-linux-enterprise-server-12\/9p32mwbh6cns\">SUSE<\/a><\/noindex> och <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/opensuse-leap-42\/9njvjts82tjx?activetab=pivot%3aoverviewtab\">openSUSE<\/a><\/noindex>. F\u00f6r att interagera med den Linux-k\u00e4rna som erbjuds i Windows kr\u00e4vs det att du l\u00e4gger till ett litet initieringsskript i distributionen som \u00e4ndrar boot-processen. Canonical har redan <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.ubuntu.com\/2019\/05\/06\/canonical-announces-support-for-ubuntu-on-windows-subsystem-for-linux-2\">att<\/a><\/noindex> uttryckt sin avsikt att ge fullst\u00e4ndigt st\u00f6d f\u00f6r att k\u00f6ra Ubuntu ovanp\u00e5 WSL2.<\/p>\n<p>Dessutom kan det n\u00e4mnas <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/introducing-windows-terminal\/\">publiceringen<\/a><\/noindex> Genom Microsofts terminalemulator <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/Terminal\">Windows Terminal<\/a><\/noindex>, vars kod distribueras under MIT-licensen. Tillsammans med terminalen har \u00e4ven koden f\u00f6r det ursprungliga kommandoradsgr\u00e4nssnittet conhost.exe, som anv\u00e4nds i Windows och implementerar Windows Console API, \u00f6ppnats. Terminalen erbjuder ett gr\u00e4nssnitt baserat p\u00e5 flikar och delade f\u00f6nster, st\u00f6der helt Unicode och escape-sekvenser f\u00f6r f\u00e4rgutmatning, g\u00f6r det m\u00f6jligt att \u00e4ndra teman och ansluta till\u00e4gg, st\u00f6der virtuella konsoler (PTY) och anv\u00e4nder DirectWrite\/DirectX f\u00f6r att snabba upp textens rendering. I terminalen \u00e4r det m\u00f6jligt att anv\u00e4nda kommandotolkarna Command Prompt (cmd), PowerShell och WSL. I sommar kommer den nya terminalen att bli tillg\u00e4nglig f\u00f6r Windows-anv\u00e4ndare via Microsoft Store.<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/05\/tab-menu.png\"><img decoding=\"async\" alt=\"Microsoft har tillk\u00e4nnagett WSL2 subsystem med inbyggd Linux-k\u00e4rna\" src=\"\/wp-content\/uploads\/2019\/05\/6670e8dc0772a8d948a6ee4bd6308249.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>K\u00e4lla: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50637\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 (Windows Subsystem for Linux), \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u0443\u044e \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 Linux \u0432 Windows. \u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430 Linux, \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0438 \u043d\u0430 \u043b\u0435\u0442\u0443 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b Linux \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b Windows. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a WSL2 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d \u0432 \u043a\u043e\u043d\u0446\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":24897,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-33154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sv\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sv_SE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Microsoft \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u044f\u0434\u0440\u043e\u043c Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sv\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:51:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:51:01+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Microsoft har meddelat WSL2-systemet med den inbyggda Linux-k\u00e4rnan | ProHoster","description":"Microsoft presenterade p\u00e5 den p\u00e5g\u00e5ende konferensen Microsoft Build 2019 en uppdaterad.","canonical_url":"https:\/\/prohoster.info\/sv\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sv_SE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Microsoft \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u044f\u0434\u0440\u043e\u043c Linux | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.","og:url":"https:\/\/prohoster.info\/sv\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:51:01+00:00","article:modified_time":"2019-10-31T18:51:01+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33154","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 14:09:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:46:22","updated":"2026-01-21 14:09:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/33154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/comments?post=33154"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/posts\/33154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media\/24897"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/media?parent=33154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/categories?post=33154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sv\/wp-json\/wp\/v2\/tags?post=33154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}