We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7af579 commit d05076aCopy full SHA for d05076a
1 file changed
docs/install/README.md
@@ -14,7 +14,22 @@
14
15
## linux(wsl) 环境配置
16
17
-1. 安装git
18
-2. 安装powershell
19
-3. 执行 profile/installer/installApp.ps1 安装
20
-4. 执行 profile/profile_unix.ps1 -loadProfile 加载配置
+1. 配置wslconfig,执行`./linux/wsl2/loadWslConfig.ps1`
+2. 配置wsl2 dns
+
+```
21
+# /etc/wsl.conf 这个文件增加下面的配置后,就不会随机生成了
22
+[network]
23
+generateResolvConf = false
24
25
26
+之后`sudo vi /etc/resolv.conf`,添加下面的内容
27
28
29
+nameserver 114.114.114.114
30
31
32
+3. 安装git,安装gh `sudo apt install git gh`或者直接执行linux/00
33
+4. 安装homebrew powershell,执行`linux\01installHomeBrew.sh`
34
+5. 执行 `linux\02installApps.ps1`
35
+6. 执行 profile/profile_unix.ps1 -loadProfile 加载配置
0 commit comments