<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>WSL on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/wsl/</link>
        <description>Recent content in WSL on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Thu, 25 Feb 2021 10:00:00 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/wsl/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>[WSL2/Win10] Install WSLv2</title>
            <link>https://www.nico-maas.de/posts/2021-02-25-wsl2-win10-install-wslv2/</link>
            <pubDate>Thu, 25 Feb 2021 10:00:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-02-25-wsl2-win10-install-wslv2/</guid>
            <description>&lt;p&gt;1.) Open an administrative Powershell and activate the WSL feature&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;2.) Activate the Virtual Machine Platform, afterwards reboot your computer&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;3.) Download and install the WSLv2 Linux Kernel package from &lt;a class=&#34;link&#34; href=&#34;https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi&lt;/a&gt; - another Reboot is needed afterwards&lt;/p&gt;&#xA;&lt;p&gt;4.) Set WSLv2 as default WSL - open an administrative Powershell and enter&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;wsl --set-default-version 2&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;5.) Install one or multiple operating systems in WSLv2 - you can find them &lt;a class=&#34;link&#34; href=&#34;https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-6---install-your-linux-distribution-of-choice&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;here&lt;/a&gt;. You can also install these &amp;ldquo;offline&amp;rdquo;, meaning without the need to use Windows Store. For the offline install, download the needed package from this &lt;a class=&#34;link&#34; href=&#34;https://docs.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;link&lt;/a&gt;, then install it by doubleclicking on the Icon - or via Powershell with&lt;/p&gt;</description>
        </item><item>
            <title>[WSL2/Win10] virt-manager for kvm on Windows</title>
            <link>https://www.nico-maas.de/posts/2020-12-29-wsl2-win10-virt-manager-for-kvm-on-windows/</link>
            <pubDate>Tue, 29 Dec 2020 11:46:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2020-12-29-wsl2-win10-virt-manager-for-kvm-on-windows/</guid>
            <description>&lt;p&gt;kvm Virtualisiation is great, however, useable tools to create and manage said VMs are rare. The best tool for the job, &lt;a class=&#34;link&#34; href=&#34;https://virt-manager.org/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;virt-manager&lt;/a&gt; is only available for Linux machines. But what if you want to manage said VMs also via Windows 10? WSL2 to the rescue: Just install WSL2 as shown by the excellent &lt;a class=&#34;link&#34; href=&#34;https://docs.microsoft.com/en-us/windows/wsl/install-win10&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;Microsoft Guide&lt;/a&gt;, install i.e. a Debian/GNU Linux instance and then launch into it.&lt;/p&gt;&#xA;&lt;p&gt;You should update the instance to the latest version first:&lt;/p&gt;</description>
        </item><item>
            <title>[Win10] Random ports blocked while using Docker / WSL / HyperV</title>
            <link>https://www.nico-maas.de/posts/2020-12-22-win10-random-ports-blocked-while-using-docker-wsl-hyperv/</link>
            <pubDate>Tue, 22 Dec 2020 09:48:57 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2020-12-22-win10-random-ports-blocked-while-using-docker-wsl-hyperv/</guid>
            <description>&lt;p&gt;I have been using Windows Subsystem for Linux (WSL) and Docker on my Laptop since a long time. And during last Docker Con, WSL 2 was released to which I switched instantly - which I did not regret.&lt;/p&gt;&#xA;&lt;p&gt;(Note: Upgrading to WSL 2 and the native Docker for WSL 2 version will cost you your containers and Docker images, there is even a Thanos meme coming around - so I have to give this fair warning ;))&lt;/p&gt;</description>
        </item><item>
            <title>Upgrade WSL (Windows Subsystem for Linux) on Windows 10</title>
            <link>https://www.nico-maas.de/posts/2017-09-20-upgrade-wsl-windows-subsystem-for-linux-on-windows-10/</link>
            <pubDate>Wed, 20 Sep 2017 07:30:47 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2017-09-20-upgrade-wsl-windows-subsystem-for-linux-on-windows-10/</guid>
            <description>&lt;p&gt;I had installed WSL (Windows Subsystem for Linux) a long time ago to gain access to Ubuntu 14.04 LTS directly from my Windows 10 Desktop. However, as time passes, Software grows old. Upgrading the Ubuntu Subsystem via apt-get update / do-release-upgrade should work, but that could have some nasty sideeffects, considering that the 14.04 LTS WSL release had been a beta test - so, a reinstall should be better.&lt;/p&gt;&#xA;&lt;p&gt;Luckily, &lt;a class=&#34;link&#34; href=&#34;http://www.techrepublic.com/article/windows-10-how-to-upgrade-to-run-ubuntu-16-04-on-windows/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;TechRepublic got this covered&lt;/a&gt;. Just open a CMD and run:&lt;/p&gt;</description>
        </item></channel>
</rss>
