wsl安装Ubuntu
安装
#应用安装好像要设置安装到C盘,之前ui安装到D一直不成功。然后设置到C盘,然后通过如下命令,一次就安装成功
#启用适用于Linux的Windows子系统
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
#启动虚拟化
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
#设置版本2
wsl --set-default-version 2
#安装
wsl install ubuntu