最近我安装了 Ubuntu 20.04.6 LTS x86_64,
当我按下命令时,curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
它并没有开始下载,只是增加了花费的时间,2 分 10 秒后它停止下载并出现此错误
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0
curl: (28) Failed to connect to raw.githubusercontent.com port 443: Connection timed out
我也尝试安装旧版本,curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
但遇到了同样的问题
我的系统配置是
OS: Ubuntu 20.04.6 LTS x86_64
Host: 81N3 Lenovo IdeaPad S145-15AST
Kernel: 5.15.0-79-generic
Packages: 1947 (dpkg), 10 (snap)
Shell: bash 5.0.17
CPU: AMD A6-9225 RADEON R4 2C+3G (2) @ 2.600GHz
GPU: AMD ATI Radeon R2/R3/R4/R5 Graphics
Memory: 2385MiB / 6534MiB