









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Start with Ubuntu Server 20. Switch to root environments sudo -i Update the repositories first apt update You also should upgrade the Ubuntu system to get the up-to-date (optional). apt upgrade Use these commands to install docker and start docker apt-get install docker.io -y Enable and start the docker daemon (service) systemctl start docker systemctl enable docker Downloads openshift wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift- origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
Extract the .tar.gz file tar -xvzf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz Next, change the directory to the extracted directory and copy kubectl and oc binaries to the /usr/local/bin directory. cd openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit Copy executable files to /usr/local/bin/ so that we can call it in any location. cp oc kubectl /usr/local/bin/
vi /etc/docker/daemon.json Add the following line:
systemctl restart docker
oc cluster up --base-dir="$HOME/.occluster" --public-hostname=