Preparing a CentOS host to run Network Service Mesh

The following instructions assume CentOS 7 installed with Gnome Desktop.


VirtualBox depends on a kernel module wild with DKMS, so in order to install it you’ll need to prepare by adding some dependencies.

sudo yum -y install gcc dkms make qt libgomp patch
sudo yum -y install kernel-headers kernel-devel binutils glibc-headers glibc-devel font-forge

Add the VirtualBox repo and get the latest released version of the package.

sudo wget -P /etc/yum.repos.d/
sudo yum -y install VirtualBox-6.0


The last version fo vagrant can be installed straight from their site:

sudo yum install -y


Docker maintain a repo for CentOS, so the installation is straightforward.

sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo
sudo yum install -y docker-ce
sudo systemctl enable docker.service
sudo systemctl start docker.service

You need to be in the docker group so you can run the commands as user.

sudo usermod -aG docker $(whoami)

Log out and log back in to get into the Docker usergroup. Verify docker is operational.

$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES


Become root and add the Kubernetes repo:

cat <<EOF > /etc/yum.repos.d/kubernetes.repo

Then install only the kubectl package:

sudo yum install -y kubectl

Dev tools

To be able to deploy Network Service Mesh you will need a couple of tools which are part of the Development Tools package group. Install it.

sudo yum groups install "Development Tools"