minikube/site/content/en/docs/Start/linux.md

71 lines
1.8 KiB
Markdown
Raw Normal View History

2019-08-01 20:16:11 +00:00
---
title: "Linux"
linkTitle: "Linux"
weight: 1
---
## Installation
{{% tabs %}}
{{% 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 %}}
{{% tab "Debian/Ubuntu (deb)" %}}
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 \
2020-02-06 19:28:14 +00:00
&& sudo dpkg -i minikube_{{< latest >}}-0_amd64.deb
```
2019-08-01 20:16:11 +00:00
{{% /tab %}}
{{% tab "Fedora/Red Hat (rpm)" %}}
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 \
2020-02-06 19:28:14 +00:00
&& sudo rpm -ivh minikube-{{< latest >}}-0.x86_64.rpm
```
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" %}}
{{% readfile file="/docs/Reference/Drivers/includes/kvm2_usage.inc" %}}
2019-08-01 20:16:11 +00:00
{{% /tab %}}
{{% 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
{{% readfile file="/docs/Reference/Drivers/includes/none_usage.inc" %}}
2019-08-01 20:16:11 +00:00
{{% /tab %}}
{{% /tabs %}}
{{% readfile file="/docs/Start/includes/post_install.inc" %}}