目的的话:
-
熟悉Linux OS
-
部署更简单有时
-
一些App只有Linux版
大概有三种方法?
-
虚拟机 感觉性能不够
-
简单,直接下载拖拽即可
-
-
物理机双系统
-
折腾——主要是因为自己换了个驱动崩了🍉
-
-
Win自带的WSL,不过只有命令行
一开始按照wsl1安装WSL 安装与使用 | EESΛST Docs (eesast.com)不行
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x800701bc Error: 0x800701bc WSL 2 ?????????????????? https://aka.ms/wsl2kernel
旧版 WSL 的手动安装步骤 | Microsoft Learn 成功
账户&密码:han
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username: han New password: Retype new password: passwd: password updated successfully Installation successful! 适用于 Linux 的 Windows 子系统现已在 Microsoft Store! 你可以通过运行 "wsl.exe --update" 进行升级 或通过访问 https://aka.ms/wslstorepage 从Microsoft Store安装 WSL 将提供最新的 WSL 更新, faster. 有关详细信息,请访问 https://aka.ms/wslstoreinfo< > To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage This message is shown once a day. To disable it please create the /home/han/.hushlogin file. han@LAPTOP-4MGSMUU8:~$
唉,只有命令行