How to install OpenShift Origin on Ubuntu 18.04

How to install OpenShift Origin on Ubuntu 18.04

Install a powerhouse tool that can help you develop, deploy, and manage container-based applications.

OpenShift Origin is an open source implementation of Red Hat’s OpenShift. For those that have yet to experience OpenShift, it is a community distribution of Kubernetes that is optimized for developing, deploying, and managing container-based applications, all of which can happen on-demand.

Must-Read Cloud

One of the biggest advantages of OpenShift Origin is that it enables faster development and release cycles for applications.

I want to walk you through the process of installing OpenShift Origin on Ubuntu 18.04. The purpose of this how-to is so that you can get a single OpenShift Origin node up and running. With this instance, you can kick the tires of this technology, to see if it suits your company’s needs. Once you’ve made the decision to deploy OpenShift on a production level, you can then make the leap to deploying a cluster. Before that, however, you must know how to get a single node up and running.

Once that command completes, you need to then configure a file so that OC doesn't constantly redirect from your hosting server IP address to 127.0.0.1. To do this, open the config file with the command:

Logging Into the Web GUI

Now point your browser to https://SERVER_IP:8443/console. Log in with the credentials developer/developer. You should now find yourself on the OpenShift Origin dashboard (Figure B).

Figure B

The OpenShift Origin dashboard.

Redirect caveat

If you find you keep getting redirected to https://127.0.0.1:8443, you can get around that by creating an SSH tunnel with the command:

sudo ssh -L 8443:localhost:8443 -f -N USER@SERVER_IP

Where USER is a remote username and SERVER_IP is the IP address on the hosting server. Now you should be able to point your browser to the Web GUI and not be constantly redirected to the localhost address.

You are now ready to start using the OpenShift Origin web-based GUI to develop, deploy, and manage container-based applications.