Skip to content

Setup Instructions

Justine Chen edited this page Nov 8, 2018 · 6 revisions

Setup Instructions

Setup Minikube

Install VirtualBox

Ubuntu or Any Debian-based Linux Distribution

First download the appropriate .deb package for your distribution from the Virtual Box website. Next, run the following commands to install Virtual Box on your system.

cd <download_directory>
sudo dpkg -i <downloaded_file>.deb

RHEL/Fedora

First, run the following commands to install gcc and kernel updates that are required prior to installing VirtualBox:

sudo yum install gcc
sudo yum install kernel kernel-devel
systemctl reboot

Next download the appropriate .rpm package for your distribution from the Virtual Box website. Next, run the following commands to install Virtual Box on your system.

cd <download_directory>
sudo rpm -Uvh <downloaded_file>.rpm

Install kubectl

Run the following commands to download and install kubectl.

sudo mkdir /opt/kubernetes
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x kubectl
sudo mv kubectl /opt/kubernetes/
sudo ln -s /opt/kubernetes/kubectl /usr/local/bin/kubectl

Install Minikube

Run the following commands to download and install minikube.

curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.30.0/minikube-linux-amd64
chmod +x minikube  
sudo cp minikube /usr/local/bin/ 
rm minikube

Start the Kubernetes cluster

Run the following command to start your Kubernetes cluster.

minikube start