Google Cloud SDK-有没有一种方法可以在不访问互联网的情况下在Linux上手动安装Google Cloud SDK?

Google Cloud SDK-有没有一种方法可以在不访问互联网的情况下在Linux上手动安装Google Cloud SDK?,linux,proxy,google-cloud-platform,failed-installation,gcloud,Linux,Proxy,Google Cloud Platform,Failed Installation,Gcloud,我正在尝试在没有任何互联网接入的Linux机器上安装Google Cloud SDK 本人现按以下指示行事: 我在本地机器上下载了tar文件,并使用scp将其传输到Linux机器。然后,我运行install.sh文件并得到以下错误: [me@user google-cloud-sdk]$ ./install.sh Welcome to the Google Cloud SDK! To help improve the quality of this product, we collect an

我正在尝试在没有任何互联网接入的Linux机器上安装Google Cloud SDK

本人现按以下指示行事:

我在本地机器上下载了tar文件,并使用scp将其传输到Linux机器。然后,我运行install.sh文件并得到以下错误:

[me@user google-cloud-sdk]$ ./install.sh
Welcome to the Google Cloud SDK!

To help improve the quality of this product, we collect anonymized data on how
the SDK is used. You may choose to opt out of this collection now (by choosing
'N' at the below prompt), or at any time in the future by running the following
command:
    gcloud config set --scope=user disable_usage_reporting true

Do you want to help improve the Google Cloud SDK (Y/n)?  n


This will install all the core command line tools necessary for working with
the Google Cloud Platform.

/home/me/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py:661: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  exc_message = getattr(exc, 'message', None)
/home/me/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py:664: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  msg = u'({0}) {1}'.format(command_path_string, exc.message)
ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again.
我有一个代理服务器,我可以使用它从这个Linux机器访问internet。我尝试将install.sh作为'sh install.sh--proxy host:port'运行,但显然,install.sh中没有名为proxy的输入参数

我如何解决这个问题


提前感谢。

在运行install.sh文件之前,将我的代理详细信息导出为“export https_proxy='…”


这对我很有效。

转到高级系统设置并创建一个变量
HTTPS\u PROXY
, 重新启动CMD

echo %HTTPS_PROXY% 
以确保它已将更改考虑在内。
启动
install.bat

如何在Windows上修复它<代码>设置HTTPS\u代理=…不起作用