简体   繁体   English

sh:第 1 行:禁止!:找不到命令

[英]sh: line 1: Forbidden!: command not found

I was trying to install REX-Ray inside AWS EC2 instance (ubuntu) by executing this request :我试图通过执行此请求在 AWS EC2 实例 (ubuntu) 中安装REX-Ray

curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -

Artical : https://rexray.readthedocs.io/en/v0.3.2/文章: https : //rexray.readthedocs.io/en/v0.3.2/

After I ran this request, I got this error :运行此请求后,出现此错误:

sh: line 1: Forbidden !: command not found sh:第1行:禁止!:找不到命令

I have not experienced this kind of error before, what causes this issue?我以前没有遇到过这种错误,是什么导致了这个问题?

Try to display output of curl -sSL https://dl.bintray.com/emccode/rexray/install .尝试显示curl -sSL https://dl.bintray.com/emccode/rexray/install输出。 Indeed, it return Forbidden!确实,它返回Forbidden! . . Obviously, this command does not exist.显然,该命令不存在。

There is probably an error in https://rexray.readthedocs.io/en/v0.3.2/ https://rexray.readthedocs.io/en/v0.3.2/ 中可能有错误

万一有人遇到这个问题,当我遇到同样的问题时,我所做的就是 rexray 的 URL 改变了:

curl -sSL https://rexray.io/install | sh -s -- stable 0.6.3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM