windows服务器wsl
时间: 2023-10-22 15:04:17 浏览: 125
Windows服务器上安装WSL的步骤与在Windows10电脑上安装略有不同。由于Windows Server没有控制面板,我们需要在PowerShell中使用命令来安装WSL。首先,你需要以管理员身份打开PowerShell。你可以通过右键单击开始菜单来打开PowerShell(管理员)窗口。然后,输入以下命令来启用WSL功能:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux。这将启用适用于Linux的Windows子系统功能。完成这些步骤后,你就可以在Windows Server上安装和配置WSL了。请注意,WSL的文件位置在C:\Users\用户名\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs下。通过配置WSL,你可以在Windows Server上运行Linux应用程序和命令行工具。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [在Windows Server2019中安装wsl的kali](https://blog.csdn.net/qq_39611230/article/details/108644043)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Windows 安装和配置 WSL(亲测)](https://blog.csdn.net/songlh1234/article/details/109245186)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文