2019-08-01 20:16:11 +00:00
|
|
|
---
|
|
|
|
title: "Linux"
|
|
|
|
linkTitle: "Linux"
|
|
|
|
weight: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
{{% tabs %}}
|
2019-08-02 00:24:23 +00:00
|
|
|
{{% tab "Direct" %}}
|
2019-08-01 20:16:11 +00:00
|
|
|
|
|
|
|
Download and install minikube to /usr/local/bin:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
|
|
|
|
&& sudo install minikube-linux-amd64 /usr/local/bin/minikube
|
|
|
|
```
|
|
|
|
{{% /tab %}}
|
2019-08-03 11:25:22 +00:00
|
|
|
{{% tab "Debian/Ubuntu (deb)" %}}
|
2019-08-02 00:24:23 +00:00
|
|
|
|
|
|
|
Download and install minikube:
|
|
|
|
|
|
|
|
```shell
|
2020-02-06 19:04:13 +00:00
|
|
|
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}-0_amd64.deb \
|
2019-08-03 11:22:40 +00:00
|
|
|
&& sudo dpkg -i minikube_{{< latest >}}.deb
|
2019-08-02 00:24:23 +00:00
|
|
|
```
|
|
|
|
|
2019-08-01 20:16:11 +00:00
|
|
|
{{% /tab %}}
|
|
|
|
|
|
|
|
{{% tab "Fedora/Red Hat (rpm)" %}}
|
2019-08-02 00:24:23 +00:00
|
|
|
|
|
|
|
Download and install minikube:
|
|
|
|
|
|
|
|
```shell
|
2020-02-06 19:04:13 +00:00
|
|
|
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-{{< latest >}}-0.x86_64.rpm \
|
2019-08-03 11:24:18 +00:00
|
|
|
&& sudo rpm -ivh minikube-{{< latest >}}.rpm
|
2019-08-02 00:24:23 +00:00
|
|
|
```
|
|
|
|
|
2019-08-01 20:16:11 +00:00
|
|
|
{{% /tab %}}
|
|
|
|
{{% /tabs %}}
|
|
|
|
|
|
|
|
## Hypervisor Setup
|
|
|
|
|
|
|
|
Verify that your system has virtualization support enabled:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
egrep -q 'vmx|svm' /proc/cpuinfo && echo yes || echo no
|
|
|
|
```
|
|
|
|
|
|
|
|
If the above command outputs "no":
|
|
|
|
|
|
|
|
- If you are running within a VM, your hypervisor does not allow nested virtualization. You will need to use the *None (bare-metal)* driver
|
|
|
|
- If you are running on a physical machine, ensure that your BIOS has hardware virtualization enabled
|
|
|
|
|
|
|
|
{{% tabs %}}
|
|
|
|
|
|
|
|
{{% tab "KVM" %}}
|
2019-08-10 01:16:11 +00:00
|
|
|
{{% readfile file="/docs/Reference/Drivers/includes/kvm2_usage.inc" %}}
|
2019-08-01 20:16:11 +00:00
|
|
|
{{% /tab %}}
|
2019-09-19 18:27:32 +00:00
|
|
|
{{% tab "VirtualBox" %}}
|
|
|
|
{{% readfile file="/docs/Reference/Drivers/includes/virtualbox_usage.inc" %}}
|
|
|
|
{{% /tab %}}
|
2019-08-01 20:16:11 +00:00
|
|
|
{{% tab "None (bare-metal)" %}}
|
2019-08-08 23:24:38 +00:00
|
|
|
If you are already running minikube from inside a VM, it is possible to skip the creation of an additional VM layer by using the `none` driver.
|
2019-08-01 20:16:11 +00:00
|
|
|
|
2019-08-10 01:16:11 +00:00
|
|
|
{{% readfile file="/docs/Reference/Drivers/includes/none_usage.inc" %}}
|
2019-08-01 20:16:11 +00:00
|
|
|
{{% /tab %}}
|
|
|
|
{{% /tabs %}}
|
|
|
|
|
2019-08-12 19:59:11 +00:00
|
|
|
{{% readfile file="/docs/Start/includes/post_install.inc" %}}
|