Linux 安装 nvm 失败,应该如何做呢?-灵析社区

开挂思想家

Linux 版本: ubuntu-22.04.4-desktop-amd64.iso 运行在 VMware 安装 nvm 时无反馈: ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241003/bd4f24ca66dec8de33ffdc4189b83d20.png) 检查 DNS ,发现映射地址到了本地: ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241003/67e8e33dbe49317c01070b3e0c7634e9.png) 根据 gpt 建议尝试重启服务 -> 无效: sudo systemctl restart NetworkManager.service 我的检查步骤有问题吗?应该如何做呢? 我现在应该怎么做才能正常安装 nvm 呢?

阅读量:144

点赞量:0

问AI
你自己指定过 "host" 么?没有的话就是 "DNS" 日常被污染,自己编辑一下 "/etc/hosts" 文件指定一下github的ip地址就好了。 "无法访问raw.githubusercontent.com解决办法 - icorgi's blog" (https://link.segmentfault.com/?enc=yqA4Ws1462WxRGWcszgnxg%3D%3D.oVSfQYeOK9FVf%2FnDfKap8y%2BJPcV4IZZqmCbYlC2CLeFaoeOCAnvwPnACGBYUp9SB)