更换图床
This commit is contained in:
@@ -6,7 +6,7 @@ date = "2026-01-26"
|
||||
description = "参考指南"
|
||||
categories = ["Linux", "Microsoft"]
|
||||
tags = ["wsl"]
|
||||
image = "https://assets.mitsea.cn/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90%E7%B3%BB%E7%BB%9F%EF%BC%88wsl%EF%BC%89%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B/mike-hindle-a8Slhd4Kvxw-unsplash.avif"
|
||||
image = "https://assets.flinty.moe/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90%E7%B3%BB%E7%BB%9F%EF%BC%88wsl%EF%BC%89%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B/mike-hindle-a8Slhd4Kvxw-unsplash.avif"
|
||||
+++
|
||||
|
||||
本篇文章旨在帮助用户快速上手 wsl,所有步骤在 Windows 11 24H2 和更新版本上有效,老系统未经验证
|
||||
@@ -21,7 +21,7 @@ image = "https://assets.mitsea.cn/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90
|
||||
|
||||
安装后需要重启电脑
|
||||
|
||||

|
||||

|
||||
|
||||
2. 重启后,安装一个 Linux 发行版,这里选择 Ubuntu 24.04
|
||||
|
||||
@@ -31,7 +31,7 @@ image = "https://assets.mitsea.cn/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90
|
||||
|
||||
安装后会引导你设置 Ubuntu 的账号密码,完成后就可以用 Ubuntu 了
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## 打开 wsl
|
||||
@@ -42,17 +42,17 @@ image = "https://assets.mitsea.cn/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90
|
||||
|
||||
打开终端后,点击加号旁边的下拉列表后,可以看到安装的 wsl 子系统
|
||||
|
||||

|
||||

|
||||
|
||||
这样就是默认进入到 Linux 系统的 home 目录下,跟用 Linux 终端没区别
|
||||
|
||||

|
||||

|
||||
|
||||
### 在项目文件夹下启动 wsl
|
||||
|
||||
在空白处右键打开终端,然后输入 `wsl` 即可快速进入到这个文件夹开始操作
|
||||
|
||||

|
||||

|
||||
|
||||
## 使用 wsl
|
||||
|
||||
@@ -64,7 +64,7 @@ image = "https://assets.mitsea.cn/blog/posts/2026/01/Windows%20Linux%20%E5%AD%90
|
||||
|
||||
Windows 下的 Rancher Desktop 可以直接与 wsl 互联,可以互相管理
|
||||
|
||||

|
||||

|
||||
|
||||
> Photo by [Mike Hindle](https://unsplash.com/@mikehindle?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/photos/modern-building-facade-with-repeating-vertical-elements-a8Slhd4Kvxw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
|
||||
|
||||
Reference in New Issue
Block a user