参考 https://blog.csdn.net/liumiaocn/article/details/52041726?locationNum=4&fps=1
中文社区API http://docs.kubernetes.org.cn/638.html
Package kernel-headers-3.10.0-693.21.1.el7.x86_64 already installed and latest version
Package kernel-devel-3.10.0-693.21.1.el7.x86_64 already installed and latest version
[root@nmserver-7 ~]# export KERN_DIR=/usr/src/kernels/3.10.0-693.21.1.el7.x86_64
上面export错了会导致/usr/lib/virtualbox/vboxdrv.sh setup这一步报错
下载kubectl
cd /usr/local/bin;curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl ;chmod +x ./kubectl
minikube镜像: https://github.com/kubernetes/minikube/releases/tag/v0.24.1
下载好minikube后:chmod +x minikube && sudo mv minikube /usr/local/bin/
启动:
minikube start