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

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:

主站蜘蛛池模板: 石阡县| 曲靖市| 临潭县| 黄冈市| 荣成市| 界首市| 新乡县| 伊宁市| 贵阳市| 钦州市| 舟山市| 巴彦县| 安国市| 重庆市| 进贤县| 金沙县| 德兴市| 岳阳市| 林口县| 大港区| 宜都市| 扎赉特旗| 伊宁县| 阿城市| 梅州市| 乳源| 武陟县| 十堰市| 揭东县| 新巴尔虎右旗| 栖霞市| 绥江县| 綦江县| 观塘区| 廊坊市| 连平县| 鲁甸县| 建水县| 浙江省| 甘洛县| 渭南市|