Windows Subsystem for Linux (WSL) is like a gateway drug to the world of Linux and in this guide I’d like to get you started with one of the super user distributions: Debian.

In this tutorial I am assuming the following:

you are running the latest version of Windows 11 with WSL2 installed;
You have a basic understanding of what WSL is.
You have a basic understanding of what systemd is. Just know that it’s a thing is sufficient 😊
I will be focusing on getting a Debian WSL2 VM setup with System-D, this can then help you install and run things such as Docker or NixOS package manager or snapd…

First, Install Debian and register a user using the command:

先创建一个没有安全和认证细节的基础Wi-Fi连接:

nmcli connection add type wifi ifname con-name CompanyWifi ssid CompanySSID

接下来,使用nmcli connection edit命令来编辑这个连接,逐步添加安全和认证信息:

nmcli connection edit id CompanyWifi
set wifi-sec.key-mgmt wpa-eap
set 802-1x.eap peap
set 802-1x.identity

windows镜像制作:(使用virt-manager)

准备:

windows10镜像 & virtio-win 驱动盘

规格配置:

raw格式,存储至少30G
至少2CPU,否则安装系统时会卡住

【唐】李商隐

锦瑟无端五十弦,一弦一柱思华年。
庄生晓梦迷蝴蝶,望帝春心托杜鹃。
沧海月明珠有泪,蓝田日暖玉生烟。
此情可待成追忆,只是当时已惘然。

【作者】李白 【朝代】唐

白酒新熟山中归,黄鸡啄黍秋正肥。
呼童烹鸡酌白酒,儿女嬉笑牵人衣。
高歌取醉欲自慰,起舞落日争光辉。
游说万乘苦不早,著鞭跨马涉远道。
会稽愚妇轻买臣,余亦辞家西入秦。
仰天大笑出门去,我辈岂是蓬蒿人。