恒美微站 Logo 恒美微站
  • 首页
  • 关于我们
  • 建站服务
  • 主题模板
  • 案例展示
  • 资讯中心
  • 联系我们

Win11使用wsl安装Ubuntu26.04

  • 首页
  • 资讯中心
  • /
  • Win11使用wsl安装Ubuntu26.04

相关资讯

LC谐振原理与调试实战:从能量交换到Q值控制 2026/9/5 7:35:00
2026昆明SEO/GEO优化公司哪家好|服务类型+报价模式 2026/9/5 7:35:00
机器人成为边际驱动力背后:ROS2、SLAM与AI大模型技术栈解析 2026/9/5 7:34:59

最新资讯

女生安全不是“小题大做“:这些“万一“真的会发生
从频率计数器拆解数字电路时序:时基、闸门与计数链路设计
项目管道规格杂乱怎么办?一台自动焊兼容多材质多管径,减少设备投入
并行化实战:从进程线程到协程的选型与核心难点解析
16通道恒流LED驱动芯片FZH695:高精度电流控制与白平衡显示方案
薄膜手套怎么选?灭菌与骨科要求

今日推荐

流式背压机制:避免前端渲染卡死与内存暴涨的滑动窗口限流
幂等性设计:在 Agent 自动重试与工具执行中的防重复扣费实战
向量检索与标量过滤混合查询:PostgreSQL pgvector 与 Milvus 的过滤下推实操

本周热门

备战数据库管理工程师校招:索引、事务、备份恢复核心考点解析
数字电路时序基石:深入理解建立时间与保持时间
蓝桥杯国赛超声波测距机:从单片机原理到嵌入式系统实战

本月精选

自研推理加速器Redwood:两周内实现PyTorch模型高效部署的实战教程
V4L2摄像头采集实战:从camera_client.rar到出图全流程解析
从“谁发明了钢琴键”到知识问答智能体:RAG与记忆工程实践

Win11使用wsl安装Ubuntu26.04

发布时间:2026/9/5 7:35:00
Win11使用wsl安装Ubuntu26.04 概述Windows 11 安装WSL然后部署Ubuntu2604管理员启动PowerShellPS C:\Windows\system32wsl--installUbuntu-26.04 正在下载: 适用于 Linux 的 Windows 子系统2.7.12 正在安装: 适用于 Linux 的 Windows 子系统2.7.12 已安装 适用于 Linux 的 Windows 子系统2.7.12。 正在安装 Windows 可选组件: VirtualMachinePlatform 部署映像服务和管理工具 版本:10.0.26100.8972 映像版本:10.0.26200.9168 启用一个或多个功能[100.0%]操作成功完成。 请求的操作成功。直到重新启动系统前更改将不会生效。 请求的操作成功。直到重新启动系统前更改将不会生效。 PS C:\Windows\system32重启后查看可安装系统PS C:\Windows\system32wsl--list--online以下是可安装的有效分发的列表。 使用“wsl.exe--installDistro”安装。 NAME FRIENDLY NAME Ubuntu Ubuntu Ubuntu-26.04 Ubuntu26.04LTS Ubuntu-24.04 Ubuntu24.04LTS Ubuntu-22.04 Ubuntu22.04LTS openSUSE-Tumbleweed openSUSE Tumbleweed openSUSE-Leap-16.0 openSUSE Leap16.0SUSE-Linux-Enterprise-15-SP7 SUSE Linux Enterprise15SP7 SUSE-Linux-Enterprise-16.0 SUSE Linux Enterprise16.0kali-linux Kali Linux Rolling Debian Debian GNU/Linux AlmaLinux-8 AlmaLinux OS8AlmaLinux-9 AlmaLinux OS9AlmaLinux-Kitten-10 AlmaLinux OS Kitten10AlmaLinux-10 AlmaLinux OS10archlinux Arch Linux FedoraLinux-44 Fedora Linux44FedoraLinux-43 Fedora Linux43eLxr eLxr12.12.0.0 GNU/Linux OracleLinux_7_9 Oracle Linux7.9OracleLinux_8_10 Oracle Linux8.10OracleLinux_9_5 Oracle Linux9.5SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise15SP6 PS C:\Windows\system32安装Ubuntu26.04安装方式一PS C:\Windows\system32wsl--installUbuntu-26.04 正在下载: Ubuntu26.04LTS 正在安装: Ubuntu26.04LTS 已成功安装分发。可以通过 “wsl.exe-dUbuntu-26.04” 启动它 正在启动 Ubuntu-26.04... Provisioning the new WSL instance Ubuntu-26.04 This might take a while... Create a default Unix user account: youraccount New password: Retype new password: passwd: password updated successfully usermod: no changes Help improve Ubuntu!Help us improve Ubuntu features and compatibility by sharing system reports with Canonical. Reports are sent anonymously anddonot contain any personal data. For legal details, please visit: https://ubuntu.com/legal/systems-information-notice We will save your answer to Windows and will only ask you once. Would you like to opt-in to platform metrics collection(Y/n)? To see an example of the data collected, entere.[Y/n/e]: n安装方式二如果上述自动安装不行可以浏览器直接下载https://releases.ubuntu.com/26.04/ubuntu-26.04-wsl-amd64.wsl双击ubuntu-26.04-wsl-amd64.wsl进行安装查验系统版本版本代号 VERSION_CODENAMEresoluterootSJ-PC:~# cat /etc/os-releasePRETTY_NAMEUbuntu 26.04.1 LTSNAMEUbuntuVERSION_ID26.04VERSION26.04.1 LTS (Resolute Raccoon)VERSION_CODENAMEresoluteIDubuntuID_LIKEdebianHOME_URLhttps://www.ubuntu.com/SUPPORT_URLhttps://help.ubuntu.com/BUG_REPORT_URLhttps://bugs.launchpad.net/ubuntu/PRIVACY_POLICY_URLhttps://www.ubuntu.com/legal/terms-and-policies/privacy-policyUBUNTU_CODENAMEresoluteLOGOubuntu-logo rootSJ-PC:~#添加阿里云源编辑ubuntu.sourcesnano/etc/apt/sources.list.d/ubuntu.sources在文件最后添加阿里云的源注意版本代号......#### See the sources.list(5) manual page for further settings.Types: deb URIs: http://archive.ubuntu.com/ubuntu/ Suites: resolute resolute-updates resolute-backports Components: main universe restricted multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg## Ubuntu security updates. Aside from URIs and Suites,## this should mirror your choices in the previous section.Types: deb URIs: http://security.ubuntu.com/ubuntu/ Suites: resolute-security Components: main universe restricted multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg# 阿里云镜像源额外添加Types: deb URIs: https://mirrors.aliyun.com/ubuntu/ Suites: resolute resolute-updates resolute-backports Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg Types: deb URIs: https://mirrors.aliyun.com/ubuntu/ Suites: resolute-security Components: main restricted universe multiverse Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg更新验证输出中出现 mirrors.aliyun.com 的命中信息且无报错即可sudoaptupdate修改镜像网络Windows 11 22H2 及以上版本并且安装了最新的 WSL 更新包可以开启 WSL 2 的“镜像模式”网络。开启后WSL 2 的 IP 会直接与 Windows 主机一致IP 不再变化且可直接通过 localhost 互通cmd命令下执行创建 .wslconfig 文件notepad%USERPROFILE%\.wslconfig.wslconfig 添加以下内存[wsl2]networkingModemirroredfirewallfalsePowerShell下重启WSLPS C:\Windows\system32wsl--shutdownPS C:\Windows\system32

关于恒美微站

恒美微站专注于为个体商户、工作室提供极简自助建站服务,让每个人都能轻松拥有专业网站。

快速链接

  • 关于我们
  • 建站服务
  • 主题模板
  • 案例展示
  • 资讯中心

服务项目

  • 可视化建站
  • 拖拽编辑
  • 主题定制
  • SEO 优化
  • 网站托管

联系方式

  • 📍 地址:北京市朝阳区建国路 88 号
  • 📞 电话:400-888-8888
  • ✉️ 邮箱:info@hmyw.cn
  • 🕐 时间:周一至周日 9:00-18:00

© 2024 恒美微站 hmyw.cn 版权所有 | 京 ICP 备 12345678 号