致力于Linux-Win-MacOS系统技术支持及软件,提供开源代码编译服务,搭建部署软件运行环境,HPC计算集群及科研计算类软件编译安装
WSL  通过Windows子系统虚拟平台  安装Ubuntu或CentOS虚拟机
WSL 通过Windows子系统虚拟平台 安装Ubuntu或CentOS虚拟机

WSL 通过Windows子系统虚拟平台 安装Ubuntu或CentOS虚拟机

1、通过控制面板,程序和功能,勾选两个windows功能:Windows子系统和虚拟化平台,安装完成后重启电脑。

或者通过PowerShell执行如下命令进行安装:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

wsl –set-default-version 2

2、下载并安装如下安装包:
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

3、打开Windows Store,搜索Ubuntu或者CentOS,找到需要的版本,下载安装打开即可

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注