官术网_书友最值得收藏!

Ubuntu 17.04

Unlike the macOS and Windows version, we will not be using a package manager to install Minikube on Ubuntu 17.04. Instead, we will just be downloading the binaries directly from the project page. To do this, simply run the following command:

$ curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.22.2/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

Minikube will be downloaded, will have execute permissions set, and will be moved to /usr/local/bin/ so it is in a system path.

Now that Minikube is installed, we need to download kubectl. During the macOS and Windows installation, this was taken care of by the package manager; luckily, the process is pretty much the same as the command we just ran to install Minikube:

$ 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 /usr/local/bin/kubectl

Once installed, you should again be able to run the following command to confirm the version of Minikube installed:

$ minikube version

When I ran the command, it returned v0.22.2, as seen in the following screenshot:

主站蜘蛛池模板: 精河县| 阿城市| 芜湖市| 乳山市| 定陶县| 重庆市| 开阳县| 彩票| 合水县| 孝昌县| 鄂伦春自治旗| 许昌县| 南开区| 瓮安县| 含山县| 中西区| 安吉县| 田东县| 武强县| 涟源市| 三原县| 峨边| 濮阳市| 八宿县| 穆棱市| 邵武市| 蛟河市| 临邑县| 西充县| 锡林浩特市| 文山县| 二连浩特市| 秀山| 北票市| 安吉县| 元氏县| 彩票| 景洪市| 栖霞市| 兴国县| 武川县|