当前位置:   article > 正文

ubuntu20-github不通问题

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

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/57615
推荐阅读
相关标签
  

闽ICP备14008679号