ubuntu20-github不通问题

github不通

一直在github下载失败

Git报错fatal unable to connect to github.com: github.com[0: 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

相关推荐
cqsztech2 小时前
oracle linux 10 +pg18 源码安装要点
linux·数据库·oracle
奥尔特星云大使2 小时前
ALTER 与 UPDATE、DROP 与 DELETE区别
linux·运维·数据库·mysql
duangww3 小时前
部署sapui5应用到linux
linux·sap fiori
siriuuus3 小时前
Linux ssh/scp/sftp命令使用及免密登录配置
linux·ssh·sftp·scp
teacher伟大光荣且正确5 小时前
Linux 下编译openssl
linux·运维·服务器
dlz08365 小时前
--group-start/--group-end 能不能解决 OpenSSL 1.0 vs 1.1 的优先级问题?
linux·运维·服务器·软件需求
小池先生6 小时前
activemq延迟消息变成实时收到了?
linux·数据库·activemq
tryCbest6 小时前
Linux系统下安装使用Redis
linux·运维·redis
AuroBreeze8 小时前
xv6-2023 - primes Lab
linux·运维·服务器
DIY机器人工房8 小时前
NAT 模式、命令行版、桥接模式方式给ubuntu虚拟机配网步骤:
linux·网络协议·ubuntu·嵌入式·桥接模式·diy机器人工房