linux - 如何配置 gsutil?

标签 linux google-cloud-storage gsutil

我关注了 Google instructions设置 gsutil。它指出在终端中运行“gsutil config”后我应该看到:

This script will create a boto config file at /.boto containing your credentials, based on your responses to the following questions.

Please navigate your browser to the following URL: <http://urlto/authorization/dialog> In your browser you should see a page that requests you to authorize gsutil to access Google Cloud Storage on your behalf. After you approve, an authorization code will be displayed.

Enter the authorization code:

但是我得到的是这个响应:

root@myserver# gsutil config
No command was given.

Choose one of -b, -d, -e, or -r to do something.
Try `/usr/bin/gsutil --help' for more information.

我在 Ubuntu 上使用 gsutil 版本 3,尝试使用/usr/bin/gsutil 的建议标志没有给出任何合理的结果。

有什么建议吗?

谢谢

最佳答案

很确定您安装了“配置和管理 GrandStream BudgeTone 100 VOIP 和 GS2000 电话”包,也称为 gsutil。所以这可能是导致问题的原因。如果您不需要 BudgeTone 工具,请将其删除。或者,使用解压/解压缩 gstools 的主目录的完整路径显式调用 google 工具。

关于linux - 如何配置 gsutil?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7989741/

相关文章:

gcloud - 将目录文件同步到 Google Cloud Composer dags/文件夹

php - php中的打包目录

google-cloud-platform - gsutil rsync : amount transfered differs from `du`

c# - 如何修复不一致且缓慢的 Google Cloud Storage 响应时间?

python - 使用 Python 在 Google Cloud Storage 存储桶中创建/上传新文件

google-cloud-storage - gsutil 拒绝访问异常 : 401 Login Required

wordpress - ascii' 编解码器无法对字符 u'\xe2 进行编码

java - Linux 上 Maven exec/debug 插件下的 Unsatisfied link 错误

c - 这个程序的输出结果是这样的

linux - 在 Bash 中将 printf 传递给 ls?