1.访问github很慢或打不开解决办法

修改host文件C:\Windows\System32\drivers\etc

  1. #github related website
  2. 140.82.112.4 github.com
  3. 151.101.185.194 github.global.ssl.fastly.net
  4. 203.98.7.65 gist.github.com
  5. 13.229.189.0 codeload.github.com
  6. 185.199.109.153 desktop.github.com
  7. 185.199.108.153 guides.github.com
  8. 185.199.108.153 blog.github.com
  9. 18.204.240.114 status.github.com
  10. 185.199.108.153 developer.github.com
  11. 185.199.108.153 services.github.com
  12. 192.30.253.175 enterprise.github.com
  13. 34.195.49.195 education.github.com
  14. 185.199.108.153 pages.github.com
  15. 34.196.237.103 classroom.github.com

cmd执行ipconfig/flushdns

2.centos无法拉取依赖

  1. cd /etc/yum.repos.d
  2. m -rf epel*
  3. wget -qO /etc/yum.repos.d/epel.repo http://mirrors.myhuaweicloud.com/repo/epel-8.repo
  4. vim epel.repo
  5. 注释掉标注的内容,改为Comment out failovermethod=priority
  6. yum clean all && yum makecache
  7. yum -y install docker