用户名
Email
论坛
潜水/灌水快乐,沉淀知识,认识更多同行。
ToB圈子
加入IT圈,遇到更多同好之人。
朋友圈
看朋友圈动态,了解ToB世界。
ToB门户
了解全球最新的ToB事件
博客
Blog
排行榜
Ranklist
文库
业界最专业的IT文库,上传资料也可以赚钱
下载
分享
Share
导读
Guide
相册
Album
记录
Doing
应用中心
帖子
本版
文章
帖子
ToB圈子
用户
免费入驻
产品入驻
解决方案入驻
公司入驻
案例入驻
登录
·
注册
只需一步,快速开始
账号登录
立即注册
找回密码
用户名
自动登录
找回密码
密码
登录
立即注册
首页
找靠谱产品
找解决方案
找靠谱公司
找案例
找对的人
专家智库
悬赏任务
圈子
SAAS
IT评测·应用市场-qidao123.com技术社区
»
论坛
›
运维.售后
›
运维.售后
›
安装 wsl-ubuntu 24.04
安装 wsl-ubuntu 24.04
老婆出轨
论坛元老
|
2024-6-15 01:47:57
|
显示全部楼层
|
阅读模式
楼主
主题
1882
|
帖子
1882
|
积分
5646
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要
登录
才可以下载或查看,没有账号?
立即注册
x
1. 安装 Ubuntu-24.04
安装 Ubuntu-24.04,默认会安装在 C 盘,
wsl
--install -d Ubuntu-24.04
复制代码
导出 Ubuntu-24.04,
wsl
--export Ubuntu-24.04 D:\tmp\Ubuntu-24.04.tar
复制代码
删除 Ubuntu-24.04,
wsl
--unregister Ubuntu-24.04
复制代码
导入 Ubuntu-24.04,导入到 F:\VirtualPCs\Ubuntu-24.04 目次,
wsl
--import Ubuntu-24.04 F:\VirtualPCs\Ubuntu-24.04 D:\tmp\Ubuntu-24.04.tar
复制代码
访问 Ubuntu-24.04,
wsl
复制代码
退出 Ubuntu-24.04,
exit
复制代码
(可选)关闭 Ubuntu-24.04,
wsl
--shutdown -d Ubuntu-24.04
复制代码
2. (可选)配置阿里云软件源
20240427时点,清华大学还不支持24.04 LTS:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
为了加速软件安装速率,配置阿里云软件源,
mv /etc/apt/sources.list /etc/apt/sources.list.bak
复制代码
cat << EOF > /etc/apt/sources.list
deb https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse
# deb https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse
EOF
复制代码
refer: https://developer.aliyun.com/mirror/ubunt
3. 体系更新
sudo apt update && sudo apt upgrade
复制代码
完结!
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复
举报
0 个回复
倒序浏览
返回列表
快速回复
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
or
立即注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
发新帖
回复
老婆出轨
论坛元老
这个人很懒什么都没写!
楼主热帖
1000套安卓(Android)毕业设计(带论 ...
【Linux学习】网络基础 和 SOCKET套接 ...
在工作中离屏真的不重要吗,代码优化就 ...
设计模式必知必会系列终章
记一次线上问题 → Deadlock 的分析与 ...
牛客SQL刷题第三趴——SQL大厂面试真题 ...
Git + Jenkins 自动化 NGINX 发布简易 ...
MySQL完整版详解
亚马逊云科技Build On-Amazon Neptune ...
SRC基础抓包
标签云
集成商
AI
运维
CIO
存储
服务器
登录参与点评抽奖加入IT实名职场社区
下次自动登录
忘记密码?点此找回!
登陆
新用户注册
用其它账号登录:
关闭
快速回复
返回顶部
返回列表