在AWS EC2实例上安装RVM时出现密码问题

时间:2016-06-07 05:49:18

标签: ruby-on-rails amazon-ec2

我正在尝试在AWS EC2实例上安装Ruby。 为此,我安装了RVM,它运行良好,对于Ruby,我给了:

[root@ip-xxx-xx-xx-xxx ec2-user]# rvm install ruby 2.2.3

Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/7/x86_64/ruby-2.2.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Unable to locate SystemId file. Is this system registered?
Unable to locate SystemId file. Is this system registered?
Enabling optional repository
Username: ec2-user
Password:
  

发生错误:请参阅   / var / log / up2date获取更多信息要求安装失败   状态:1。

我知道当我运行所有这些安装时,我必须使用 sudo -s ,这样就不需要密码,但它仍然在询问。 可能有什么问题?请帮帮我。

0 个答案:

没有答案