ubuntu20-github不通问题

github不通

一直在github下载失败

Git报错fatal unable to connect to github.com: github.com0: 20.205.243.166

>>> alsa-ucm-conf v1.2.6.3 Downloading(卡在这里,很烦啊)

然后搜了很多文档,然后以下操作:

1.GitHub.com - GitHub: Let's build from here · GitHub 上这个网址

2.由140.82.113.3可知DNS;

3.sudo vim /etc/hosts

4.sudo /etc/init.d/dns-clean start

5.sudo /etc/init.d/network-manager restart

然后编译就可以连接github了

测试:ping www.github.com

相关推荐
tntxia11 小时前
linux curl命令详解_curl详解
linux
扛枪的书生14 小时前
Linux 网络管理器用法速查
linux
极光技术熊15 小时前
Spring AI 从入门到精通:构建你的 AI 开发知识体系
后端·github
用户394839510755316 小时前
怎么让我的 Agent 真正"懂"我?——关于记忆、经验学习与预测的一些真实体验
github
顺风尿一寸17 小时前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
远航_1 天前
git submodule
前端·后端·github
XIAOHEZIcode1 天前
Ubuntu 终端美化全栈指南:Bash 到 Kitty 踩坑实录
linux·ubuntu·命令行
fthux1 天前
如果你用 Mac,那你可能需要 Noti Shift
macos·开源·github
唐青枫1 天前
别再只会用 cron:Linux systemd Timer 定时任务实战详解
linux
程序员天天困2 天前
Loop Engineering 实战:/goal 命令让 AI 自己写完整项目
github