Wednesday 18 January 2017

Tuesday 17 January 2017

Install Openshift locally

Installation of Openshift:--

1. Create Centos VM in Virtual box or VMware. 
2. Install Docker { command:- yum install docker wget git -y}

   

3.  Configure the Docker daemon with an insecure registry parameter    of 172.30.0.0/16
     In RHEL and Fedora, edit the /etc/sysconfig/docker file and add or uncomment the 
     following line.


  INSECURE_REGISTRY='--insecure-registry 172.30.0.0/16'
4.Restart Docker Daemon {command: $ sudo systemctl restart docker}
5. Download Openshift from https://github.com/openshift/origin/releases .
7. untar the tar file and copy oc file inside that to /usr/local/bin and do {command: oc cluster up}.
8. That's it!!!!
9. Now you login in to Openshift console with IP and credentials created by default.