vault backup: 2023-09-19 16:18:41
This commit is contained in:
parent
9d7eb3fbeb
commit
43b430fc8b
@ -1,2 +1,30 @@
|
|||||||
#
|
# 前言
|
||||||
`wsl --install `
|
参考:
|
||||||
|
- https://zhuanlan.zhihu.com/p/621142457
|
||||||
|
- https://www.bilibili.com/read/cv11143517/
|
||||||
|
- https://zhuanlan.zhihu.com/p/150555651
|
||||||
|
|
||||||
|
# 安装
|
||||||
|
更新wsl 1=>2
|
||||||
|
https://learn.microsoft.com/zh-cn/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
|
||||||
|
文件下载地址:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
|
||||||
|
|
||||||
|
- wsl --set-default-version 2
|
||||||
|
|
||||||
|
|
||||||
|
- 在Micrsoft Store中搜索Ubantu22.04并且安装
|
||||||
|
- 之后运行Ubantu22.04会报错:报错WslRegisterDistribution failed with error: 0x8007019e
|
||||||
|
- 以管理员模式运行PowerShell并且运行Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
|
||||||
|
- 重启后运行Ubantu22.04即可安装
|
||||||
|
|
||||||
|
## 桌面安装
|
||||||
|
1. sudo apt-get intall xrdp
|
||||||
|
2. sudo apt-get intall xubuntu-desktop
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo xfce4-session >~/.xsession
|
||||||
|
sudo service xrdp restart
|
||||||
|
Restarting Remote Desktop Protocol server
|
||||||
|
[20190719-15:20:51] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3390.
|
||||||
|
[20190719-15:20:51] [DEBUG] Closed socket 6 (AF_INET6 :: port 3390)
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user