【发布时间】:2014-09-05 23:29:49
【问题描述】:
我在 Fedora 19 上部署 OpenShift Origin 时遇到问题。出现错误:
Preflight check: verifying system and resource availability.
Checking broker.example.com:
* SSH connection succeeded
* Target host is running non-Fedora, non-RHEL
* Located getenforce
* SELinux is running in please login as the user "fedora" rather than
the user "root". mode
* Located yum
* Located puppet
* Located augtool
* Located dnssec-keygen
* Located htpasswd
* Located scl
* ERROR: The ruby193 software collection is not installed. Correct
this by running `yum install ruby193` on this system.
* ERROR: The 'epel' repository isn't available via yum. Install /
enable this repository and try again.
这很奇怪:
Target host is running non-Fedora, non-RHEL
发布:
[root@broker tmp]# cat /etc/issue
Fedora release 19 (Schrödinger’s Cat)
Kernel \r on an \m (\l)
我无法通过 yum 安装 ruby193。依赖问题。 Fedora 19 有 ruby 版本 2.0.0。 ruby193 安装日志:http://pastebin.com/raw.php?i=TpJEF4Rw
所以我使用的是 rvm:
[root@broker tmp]# ruby -v
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
[root@broker tmp]#
最后,我通过以下方式安装 Origin:
sh <(curl -s https://install.openshift.com/)
【问题讨论】: