我在 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/)