content_image/697389.jpg
The above command will put the setup in place for OSV3. The next step would be to configure OpenShift V3 on the machine. 

If you cannot download from the Internet directly, then it could be downloaded from https://install.openshift.com/portable/oo-install-ose.tgz as a tar package from which the installer can run on the local master machine. 

Once we have the setup ready, then we need to start with the actual configuration of OSV3 on the machines. This setup is very specific to test the environment for actual production, we have LDAP and other things in place. 

Step 5: On the master machine, configure the following code located under /etc/openshift/master/master-config.yaml 

# vi /etc/openshift/master/master-config.yaml identityProviders: - name: my_htpasswd_provider challenge: true login: true provider: apiVersion: v1 kind: HTPasswdPasswordIdentityProvider file: /root/users.htpasswd routingConfig:  subdomain: testing.com 

 Next, create a standard user for default administration. 

# htpasswd -c /root/users.htpasswd admin 

Step 6:  As OpenShift uses Docker registry for configuring images, we need to configure Docker registry. This is used for creating and storing the Docker images after build. 

Create a directory on the OpenShift node machine using the following command. 

# mkdir /images 

Next, login to the master machine using the default admin credentials, which gets created while setting up the registry. 

# oc login Username: system:admin 

<img src='content_image/697389.jpg'>

