OpenShift Origin installation notes
Having ran a local copy of OpenShift Origin using VirtualBox I decided to have a go at running it on a Digital Ocean Droplet running CentOS 6.5. This should be easy as there is an installer which claims;
You’re one shell command away from deploying your own Platform as a Service.
Well, sort of, after a few failed installs I finally managed it using the following (this assumes you are running a clean and minimal CentOS 6.5 installation)
yum update -yyum install -y http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmcat > /etc/yum.repos.d/openshift-origin-deps.repo <<”EOF”[openshift-origin-deps]name=OpenShift Origin Dependencies — EL6baseurl=http://mirror.openshift.com/pub/origin-server/release/3/rhel-6/dependencies/x86_64gpgcheck=0EOFyum install -y ruby193-ruby vim-enhanced unzip curl puppet httpd-tools augeas bind bind-utilsvim /etc/selinux/config # DigitalOcean disable SELinux so change this to enabledreboot # Reboot to enable SELinuxscl enable ruby193 bash # Make sure that all Ruby is piped through the SCL installed Ruby 1.93 binarysh <(curl -s https://install.openshift.com/) # See notes below before answering any questions !!!reboot
So, the problem I was having with is that by default oo_install assumes you are running Fedora 19 and populates repos_base with http://mirror.openshift.com/pub/origin-server/release/3/fedora-19/ what the install instructions fail to say is that you need to replace this with http://mirror.openshift.com/pub/origin-server/release/3/rhel-6 when prompted about the subscription configuration oo_install will use for the deployment.
You can view the output of a full oo_install run through listed in this Gist.
So, if I had run through this on a Fedora 19 Droplet, would this have been any different? In short, yes;
yum update -yyum install -y ruby vim-enhanced unzip curl puppet httpd-tools augeas bind bind-utilsvim /etc/selinux/config # Change from disabled to enabledrebootsh <(curl -s https://install.openshift.com/)reboot
This is mostly because of Fedora is way ahead of RHEL 6 based installations, this however should all change shortly with the release of RHEL 7 and CentOS 7.
Related Posts

Jenkins
Discover Jenkins for automation on CentOS 7 with NGINX SSL setup. Orchestrate tasks efficiently!

First Steps with Ansible
Explore Ansible for AWS automation, transitioning from manual scripting. Initiate playbook for VPC and ELB deployment.
Upgrading my servers to CentOS 7
Learn about the process of upgrading servers from CentOS 6 to CentOS 7, including updates for Puppet Master server, Apache configuration, and Docker server.