Try

Or browse

    LinuxAutomationDevOpsDocker

    OpenShift Origin installation notes

    OpenShift Origin installation notes

    Follow my guide to install OpenShift Origin on a CentOS 6.5 DO droplet. Get step-by-step instructions & troubleshoot issues.

    Suggest editsRSSFollow on Google

    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)

    OpenShift Origin installation notes 1/2
    yum update -y
    yum install -y http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    cat > /etc/yum.repos.d/openshift-origin-deps.repo <<”EOF”
    [openshift-origin-deps]
    name=OpenShift Origin Dependencies - EL6
    baseurl=http://mirror.openshift.com/pub/origin-server/release/3/rhel-6/dependencies/x86_64
    gpgcheck=0
    EOF
    yum install -y ruby193-ruby vim-enhanced unzip curl puppet httpd-tools augeas bind bind-utils
    vim /etc/selinux/config # DigitalOcean disable SELinux so change this to enabled
    reboot # Reboot to enable SELinux
    scl enable ruby193 bash # Make sure that all Ruby is piped through the SCL installed Ruby 1.93 binary
    sh <(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;

    OpenShift Origin installation notes 2/2
    yum update -y
    yum install -y ruby vim-enhanced unzip curl puppet httpd-tools augeas bind bind-utils
    vim /etc/selinux/config # Change from disabled to enabled
    reboot
    sh <(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↗.

    Share

    Related terms: AgentAgent SkillsAmazon Web ServicesAnsibleAutomationAzure DevOps

    Comments