国内服务器访问Github

1、ping

可以尝试ping github.com
或者从网站查看:

https://sites.ipaddress.com/github.com/

在这里插入图片描述

2、改hosts

在服务器修改 /etc/hosts

vim /etc/hosts

140.82.113.3 github.com

3、从github安装服务

测试安装

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐