遵循https://developers.google.com/compute/docs/gcutil/上的gcutil 教程,这里是下载说明的一个步骤:
但是,当我尝试此 URL 时:“$ curl https://dl.google.com/dl/cloudsdk/release/insall_google_cloud_sdk.bash | bash”
我收到此错误:
"$ curl https://dl.google.com/dl/cloudsdk/release/insall_google_cloud_sdk.bash |
bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 869 100 869 0 0 562 0 0:00:01 0:00:01 --:--:-- 679
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!DOCTYPE html>'"
我尝试使用 http 而不是 https 但收到此错误:
$ curl http://dl.google.com/dl/cloudsdk/release/insall_google_cloud_sdk.bash |
bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:03:50 --:--:-- 0cu
rl: (7) couldn't connect to host
有没有我错过的步骤?