程序问答   发布时间:2022-06-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了如何通过 shell 访问 Amazon Keyspaces?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决如何通过 sHell 访问 Amazon Keyspaces??

开发过程中遇到如何通过 sHell 访问 Amazon Keyspaces?的问题如何解决?下面主要结合日常开发的经验,给出你关于如何通过 sHell 访问 Amazon Keyspaces?的解决方法建议,希望对你解决如何通过 sHell 访问 Amazon Keyspaces?有所启发或帮助;

我尝试在 AWS sHell 中编写 cqlsh,但没有返回任何输出。我提到了这个tutorial

输出:- bash: cqlsh: command not found

解决方法

是的,您可以使用 cqlsh 通过 AWS CloudsHell 访问 Amazon Keyspaces。 Amazon Keyspaces 工具包的存储库有一个 sHell 脚本,用于在 AWS 云 sHell 中设置 cqlsh。 Amazon Keyspaces 工具包是为 Amazon Keyspaces 中的最佳实践配置的常用开发人员工具的存储库。

这里是 github 示例的链接:https://github.com/aws-samples/amazon-keyspaces-toolkit/tree/master/aws-cloudsHell

以下是帮助您入门的步骤。

运行以下命令下载并执行安装脚本 wget https://raw.githubusercontent.com/aws-samples/amazon-keyspaces-toolkit/master/aws-cloudsHell/setup.sh bash 设置.sh

通过使用 cqlsh-expansion,它还允许您使用 Sigv4 身份验证方法,该方法支持 Python Cassandra 驱动程序。如需了解更多信息,请访问 Github 页面,了解我们的 Sigv4 插件和 Python 驱动程序https://github.com/aws/aws-sigv4-auth-Cassandra-python-driver-plugin。

该插件依赖于 AWS SDK for Python (Boto3),使用 boto3.Session 获取凭证以使用 cqlsh-expansion 连接到 Amazon 密钥空间

@H_848_3@mat F = A.clone();
Mat G;
A.copyTo(G);

附加信息 cqlsh-扩展https://github.com/aws-samples/amazon-keyspaces-toolkit/tree/master/cqlsh-expansion#readme AWS CloudSHell https://docs.aws.amazon.com/cloudsHell/latest/userguide/welcome.html

大佬总结

以上是大佬教程为你收集整理的如何通过 shell 访问 Amazon Keyspaces?全部内容,希望文章能够帮你解决如何通过 shell 访问 Amazon Keyspaces?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。