Cloud and Datacenter Management Blog

Microsoft Hybrid Cloud blogsite about Management


Leave a comment

#WindowsAdminCenter and Windows Server 20H2 Core with WSL2 #Ubuntu Distro #Winserv #WSL2

Windows Server 2019 Core and WSL 2 Ubuntu 18.04

The Windows Subsystem for Linux (WSL) gives you the most command-line tools, utilities, and applications directly on Windows. I’m using Microsoft Windows Admin Center and Windows Server Core 20H2 with Build version 19042.746 to deploy WSL 2 with Ubuntu 18.04 Linux Distro. Here you find the installation of the Windows Server Core 20H2 with Windows Admin Center

In the following steps we will install the Following :

  • Windows Subsystem for Linux (WSL)
  • Move from WSL 1.0 to WSL 2.0
  • Install Ubuntu 18.04 Linux distro

Installing Windows Subsystem for Linux (WSL)

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

This will install the WSL Feature.
When it ask do you want to Restart select No, because we will install the Next Feature :

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Select now Yes for Restarting the Server.

Moving from WSL 1.0 to WSL version 2.0

Before we Move from WSL version 1 to WSL version 2, we need a WSL Kernel Update.
Download here https://aka.ms/wsl2kernel

I Created a Share on the Windows Server via WIndows Admin Center.
And Uploaded the WSL_Update_X64.msi

Run WSL_Update_X64 and Click on Next.

Click on Finish

WSL –Set-Default-Version 2
Now we have Windows Subsystem for Linux version 2 Active.

Install Ubuntu 18.04 Linux Distro for WSL2

With the following Powershell Invoke-WebRequest we get Ubuntu 18.04


Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1804 -OutFile ~/Ubuntu1804.zip -UseBasicParsing
md C:\Distros\Ubuntu1804
Expand-Archive ~/Ubuntu1804.zip C:\Distros\Ubuntu1804


Run Ubuntu 18.04

Ubuntu 18.04 is Running in WSL2 on Windows Server Core 20H2 πŸ˜‰

Conclusion

First of All Microsoft Windows Admin Center is supporting me in the Installation of Windows Subsystem for Linux. We have WSL 2 Running with Ubuntu 18.04 with a lot of possibilities!
What I really like is integration, like in Windows 10 and Docker for desktop with the WSL 2 Engine. Here my Blogpost
Together with VSCode Remote WSL is Cool.

Would be awesome to run Docker Windows and Linux Containers in combination with WSL 2 integration on Windows Server Core edition. Maybe in the Future, who knows?


Leave a comment

#Microsoft Windows Insiders and Windows Terminal Preview #WindowsInsiders #Winserv #MVPBuzz

Microsoft Windows Insiders Program

To be the first with the Microsoft Windows Insiders Community testing all the New features is awesome to do!
I’m a Windows Insider since October 1st, 2014 and I like to see every week what’s new? In the Feedback HUB Preview you can Follow other Windows Insiders and see the Challenges and features requests. From there you can give them feedback or vote for the new features.

Windows Insiders Feed Back HUB

To become a Microsoft Windows Insider, you have to register your self here : BECOME AN INSIDER

In the Windows Insiders HUB you find also the New announcements of the Preview Build versions. Microsoft Windows Insiders also have a blogsite here to follow:

Windows Insiders Blogpost site

When you are active in the Microsoft Windows Insiders Community you can Earn badges and Learn a lot of the New Features Microsoft releases every week. This gives you always a step a head and It’s fun πŸš€πŸ˜ŽπŸ‘

Earning Badges

It’s not only the Windows 10 Insiders program but also Windows Server Insiders or Microsoft Edge Insiders
Here you find more information :

Windows Server Insider Program

Microsoft Edge Insider Program

And of course keep up-to-date via Social Media here:

@windowsinsider

@donasarkar

@JenMsft

@MSEdgeDev

@windowsserver

Which recent Features do I like in Microsoft Windows Insiders Preview Build?

Well Let start Right a way with the Dark Side Theme in Windows Insiders πŸ˜ŽπŸ‘πŸš€

Much better for my eyes 😍

One of the latest new Features in Windows Insider Preview Build 18922 is Windows Terminal Preview from the Marketplace.

Click on Get

Just Click on Launch

It’s in really early Preview with version 0.2.1715.0

Windows Terminal Preview

Here begins the cool 😎 part with Settings opening profiles.json file to edit :

JSON Settings of Windows Terminal Preview

Here I Changed the JSON file for my Ubuntu Linux Terminal with a Great New Background.

You Have to add these lines in the JSON file here:

%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState

Under “Icon” :

“backgroundImage” : “ms-appdata:///roaming/yourimage.jpg”,
“backgroundImageOpacity” : 0.75,
“backgroundImageStrechMode” : “fill”,

Save Profiles.json and you will see that the background will be Awesome in Ubuntu Terminal :

How Awesome is this !! πŸ˜ŽπŸš€πŸ‘

Conclusion:

I Love my Hobby and my Hobby is my Work !
The Microsoft Windows Insiders Program is Awesome together with the Community to make Windows a Great product for everyone.