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 .
6. Go back to centos {command : wget openshift-origin-client-tools-v1.5.0-alpha.0.3b2bbe5-linux-64bit.tar.gz
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.
No comments:
Post a Comment