首页 > 其他分享 >win10 开启wsl

win10 开启wsl

时间:2024-07-31 14:41:29浏览次数:4  
标签:noble restricted universe wsl 开启 ubuntu win10 main multiverse

开启 hypver-v

查看wsl poweershell

 wsl --list --online

下载分发版本 等待下载即可 poweershell

 wsl --install -d Ubuntu-20.04

设置为wsl2 poweershell

 wsl --set-default-version 2

使用wsl powershell

wsl

moberxterm

  • 设置到wsl moberxterm

设置清华源 /etc/apt/source.list

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
# # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse

安装conda

wget https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh

标签:noble,restricted,universe,wsl,开启,ubuntu,win10,main,multiverse
From: https://www.cnblogs.com/guanchaoguo/p/18334542

相关文章

  • wsl2配置
    参考网站https://dowww.spencerwoo.com/https://docs.eesast.com/docs/tools/wslEnable-WindowsOptionalFeature-Online-FeatureNameMicrosoft-Windows-Subsystem-Linux管理员权限下执行pwsh,打开wsl附加功能,然后重启dism.exe/online/enable-feature/featurename:Micro......
  • 闪回的开启与关闭
    Oracleversion:11.2.0.3.0设置db_recovery_file_dest的路径和大小SQL>altersystemsetdb_recovery_file_dest='/u01/fast_recovery_area'scope=both;Systemaltered.SQL>altersystemsetdb_recovery_file_dest_size=2Gscope=both;Systemaltered.......
  • Win10/Win11安全中心无法打开解决方式
    按住win键+x打开powershell管理员模式然后输入以下代码sfc/SCANNOW1.等待扫描完成Dism/Online/Cleanup-Image/ScanHealth2.等待进度走完Dism/Online/Cleanup-Image/CheckHealth3.出现未检测到组件损坏,继续下一个命令操作DISM/Online/Cleanup-image/Rest......
  • 一屏掌控物流风云:数据大屏开启高效运营时代
    在日新月异的数字化浪潮中,物流行业正以前所未有的速度迈向智能化、高效化的新纪元。作为这一变革的核心驱动力之一,山海鲸可视化搭建的物流订单数据监控大屏以其强大的信息整合能力、实时的数据可视化展示以及精准的业务决策支持,成为了现代物流企业不可或缺的智慧中枢。 想象一......
  • 快速开启react+electron应用,搭建启动问题
    注意:React本地启动在3000端口Electron在创建BrowserWindow的时候,可以读取本地的文件或者是url开发环境读取localhost:3000生产环境需要加载本地成型以后的本地文件,打包的时候再考虑一react脚手架create-react-app快速搭建reactnpxcreate-react-appmy-ap......
  • passwall的配置和网络负载均的衡开启设置
    passwall的配置和网络负载均的衡开启设置一、前期准备1、要现有一台已经安装好OpenWrt固件的路由器能刷这种固件的路由器有很多,自行网上查找吧,我相信看这篇文章的也应该是刷好的2、安装好passwall插件之所以是passwall我觉得比passwall2要更稳定和耐用一些(纯粹个人主观见解)......
  • 开启内卷!国内视频生成模型再添新成员!免费低排队助你快速开始
    前言......
  • WSL - 网络摄像头 USB:无法通过索引打开摄像头
    我已按照本教程进行操作:https://github.com/dorssel/usbipd-win/wiki/WSL-support#usbip-client-tools我成功将USB摄像头与WSL2连接,但无法连接打开摄像头。$lsusbBus002Device001:ID1d6b:0003LinuxFoundation3.0roothubBus001Device002:ID046d......
  • mongo副本集开启安全认证
    线上mongo是四节点的副本集,其中一个节点是延迟并且隐藏不参与选举。由于业务的需要,现在需要开启mongo的安全认证。根据官网的介绍(https://www.mongodb.com/zh-cn/docs/manual/tutorial/enforce-keyfile-access-control-in-existing-replica-set-without-downtime/),可以采取不停机(t......
  • Win10消除/恢复快捷方式小箭头
    去除箭头新建文本文件(.txt)复制下面代码粘贴后保存regadd"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIcons"/v29/d"%systemroot%\system32\imageres.dll,197"/treg_sz/ftaskkill/f/imexplorer.exestartexplorer......