出现这个错误的原因是没有安装Windows子系统支持(如果前面打开那个功能过后就重启就不会出现这个问题)。 解决办法: 打开Windows PowerShell(Admin) 输入: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 回车执行 重启 报错2:800701bc 问题解决WslRegisterDistribution failed with erro...
出现这个错误的原因是没有安装Windows子系统支持(如果前面打开那个功能过后就重启就不会出现这个问题)。 解决办法: 打开Windows PowerShell(Admin) 输入: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 回车执行 重启 报错2:800701bc 问题解决WslRegisterDistribution failed with erro...
export PATH="$HOME/.local/bin:$PATH" fi eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) export PATH="~/.npm-global/bin:$PATH" export PATH="$HOME/.poetry/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/....
(1)以管理员身份运行Windows PowerShell(Win+S,输入Windows Powershell,在搜索出的应用上右键,或直接在右侧选择以管理员身份运行) (2)运行以下命令: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 4. 启用虚拟机功能 (1)以管理员身份运行Windows PowerShell (...
按照这个教程安装好wsl 选择自己想要的版本https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package 打开后,root的初始密码设置一下 sudo passwd进行设置 更新一下 apt update apt upgrade 卸载ssh服务 apt remove openssh-server ...
步骤1:打开Windows终端在Windows任务栏上搜索并打开“Windows 终端”应用程序。 步骤2:打开终端设置在Windows终端中,点击顶部菜单栏的“设置”图标,或者按下“Ctrl + ,”(逗号)快捷键,以打开终端的设置界面。 步骤3:编辑默认配置文件在终端设置界面中,点击左侧的“默认配置文件”选项卡,以编辑默认配置文件。 步骤4:...
相反,wslpath '"C:\a b"'查找驱动器"C:上名为a b"的文件。我们必须手动删除Windows“拖放”插入的引号。 IFS= read -r input; echo if [[ "$(uname -r)" =~ Microsoft$ ]]; then # is path quoted and contains a space? if [[ "$input" =~ ^\"(.*\ .*)\"$ ]]; then # remove ...
In a Windows Powershell terminal (not the Ubuntu terminal), enter wsl –list to view your Linux distributions, then export one by name to a backup .tar file — such as D:\backup\ubuntu.tar: mkdir D:\backup wsl --export Ubuntu D:\backup\ubuntu.tar Unregister that distro to remove it...
一、WSL(windows subsystem on linux)安装 按照这个安装链接即可! 1、默认安装路径 AI检测代码解析 C:\Users\用户名\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu16.04onWindows_79rhkp1fndgsc\LocalState 1. 2、快速跳转到linux目录 在文件资源管理器输入\\wsl$即可 ...
Navigate through the following path: User Configuration>Administrative Templates>Windows Components>Attachment Manager Enable the policy namedDo not preserve zone information in file attachments. By enabling this policy, you will avoid the creation of new.Zone.Identifierfiles. Microso...