基本
记录 wsl 使用期间遇到的问题
列表
1. 发行版安装之后,wsl无法启动
需升级wsl。
wsl --update
2. wsl里无法正常解析
wsl的ubuntu系统中,默认/etc/resolv.conf
通过/etc/wsl.conf
控制,其wsl的系统通过windows的dns来解析
如果你发现生成正常,但是就是无法解析,尝试在windows中重置一下网络
netsh winsock reset
netsh int ip reset all
netsh winhttp reset proxy
ipconfig /flushdns
上述操作完毕后,重启windows系统。