- 博客(3)
- 问答 (1)
- 收藏
- 关注
原创 WSL2 Ubuntu20.04 /etc/resolv.conf重启丢失
描述:修改/etc/resolv.conf,每次WSL重启之后,自己配置的DNS就会丢失,重置为默认的根据/etc/resolv.conf中的内容可知,/etc/resolv.conf是WSL自动生成的,如果要停止自动生成,在/etc/wsl.conf添加下面的内容。# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to ..
2022-05-16 12:43:35
7012
1
原创 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running
描述:安装docker之后出现Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?docker 本身已经装好了,但docker服务没有启动,所以在/var/run/路径下找不到docker的进程。解决:启动docker服务:service docker startroot@DESKTOP-MUU37FJ:/home/lingxuan_tan# s..
2022-05-16 12:40:53
339
原创 Ubuntu 20.04 TSL换源报错:Err:1 http://mirrors.aliyun.com/ubuntu focal InRelease
Err:1 http://mirrors.aliyun.com/ubuntu focal InReleaseTemporary failure resolving ‘mirrors.aliyun.com’描述:在Ubuntu 20.04编辑/etc/apt/sources.list文件,更改为阿里源之后,更新执行sudo apt update,报错:Err:1 http://mirrors.aliyun.com/ubuntu focal InRelease Temporary failure
2022-05-16 12:37:43
24994
11
空空如也
IDEA安卓项目 Gradle build failed
2021-03-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人