minishift安装
先下载安装包
https://github.com/minishift/minishift/releases
mac上运行命令
minishift start --vm-driver=virtualbox --registry-mirror=https://docker.mirrors.ustc.edu.cn
运行中会下载一个iso镜像,如果比较慢,就手工下载下来,然后放到相关用户的.minishift相应路径下
我的是 /Users/ericnie/.minishift/cache/iso/centos/v1.12.0

加入path路径后,然后通过
ericdeMacBook-Pro:v1.12.0 ericnie$ minishift start --vm-driver virtualbox
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.10.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.10.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Starting Minishift VM ......................... OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
Pinging 8.8.8.8 ... FAIL
VM is unable to ping external host
-- Checking HTTP connectivity from the VM ...
Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... % used OK
-- OpenShift cluster will be configured with ...
Version: v3.10.0
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster ................................
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3. is available ...
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.99.100 as the host IP
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3. is available ...
Starting OpenShift using openshift/origin-control-plane:v3. ...
I0924 ::47.549769 flags.go:] Running "create-kubelet-flags"
I0924 ::48.749646 run_kubelet.go:] Running "start-kubelet"
I0924 ::49.070376 run_self_hosted.go:] Waiting for the kube-apiserver to be ready ...
I0924 ::12.245945 interface.go:] Installing "kube-proxy" ...
I0924 ::12.246519 interface.go:] Installing "kube-dns" ...
I0924 ::12.246529 interface.go:] Installing "openshift-apiserver" ...
I0924 ::12.246570 apply_template.go:] Installing "openshift-apiserver"
I0924 ::12.248961 apply_template.go:] Installing "kube-proxy"
I0924 ::12.250870 apply_template.go:] Installing "kube-dns"
I0924 ::21.826217 interface.go:] Finished installing "kube-proxy" "kube-dns" "openshift-apiserver"
I0924 ::05.262675 run_self_hosted.go:] openshift-apiserver available
I0924 ::05.263334 interface.go:] Installing "openshift-controller-manager" ...
I0924 ::05.263358 apply_template.go:] Installing "openshift-controller-manager"
I0924 ::08.089585 interface.go:] Finished installing "openshift-controller-manager"
Adding default OAuthClient redirect URIs ...
Adding router ...
Adding web-console ...
Adding centos-imagestreams ...
Adding registry ...
Adding sample-templates ...
Adding persistent-volumes ...
I0924 ::08.109483 interface.go:] Installing "openshift-router" ...
I0924 ::08.109517 interface.go:] Installing "openshift-web-console-operator" ...
I0924 ::08.109527 interface.go:] Installing "centos-imagestreams" ...
I0924 ::08.109535 interface.go:] Installing "openshift-image-registry" ...
I0924 ::08.109542 interface.go:] Installing "sample-templates" ...
I0924 ::08.109549 interface.go:] Installing "persistent-volumes" ...
I0924 ::08.113860 apply_list.go:] Installing "centos-imagestreams"
I0924 ::08.115257 apply_template.go:] Installing "openshift-web-console-operator"
I0924 ::08.117497 interface.go:] Installing "sample-templates/postgresql" ...
I0924 ::08.117517 interface.go:] Installing "sample-templates/cakephp quickstart" ...
I0924 ::08.117529 interface.go:] Installing "sample-templates/dancer quickstart" ...
I0924 ::08.117540 interface.go:] Installing "sample-templates/django quickstart" ...
I0924 ::08.117554 interface.go:] Installing "sample-templates/sample pipeline" ...
I0924 ::08.117564 interface.go:] Installing "sample-templates/mongodb" ...
I0924 ::08.117573 interface.go:] Installing "sample-templates/mysql" ...
I0924 ::08.117583 interface.go:] Installing "sample-templates/rails quickstart" ...
I0924 ::08.117596 interface.go:] Installing "sample-templates/jenkins pipeline ephemeral" ...
I0924 ::08.117606 interface.go:] Installing "sample-templates/mariadb" ...
I0924 ::08.117616 interface.go:] Installing "sample-templates/nodejs quickstart" ...
I0924 ::08.117730 apply_list.go:] Installing "sample-templates/nodejs quickstart"
I0924 ::08.118007 apply_list.go:] Installing "sample-templates/postgresql"
I0924 ::08.118198 apply_list.go:] Installing "sample-templates/cakephp quickstart"
I0924 ::08.118422 apply_list.go:] Installing "sample-templates/dancer quickstart"
I0924 ::08.118483 apply_list.go:] Installing "sample-templates/django quickstart"
I0924 ::08.119167 apply_list.go:] Installing "sample-templates/sample pipeline"
I0924 ::08.119756 apply_list.go:] Installing "sample-templates/mongodb"
I0924 ::08.168681 apply_list.go:] Installing "sample-templates/mysql"
I0924 ::08.169096 apply_list.go:] Installing "sample-templates/rails quickstart"
I0924 ::08.169257 apply_list.go:] Installing "sample-templates/jenkins pipeline ephemeral"
I0924 ::08.169400 apply_list.go:] Installing "sample-templates/mariadb"
I0924 ::20.746839 interface.go:] Finished installing "sample-templates/postgresql" "sample-templates/cakephp quickstart" "sample-templates/dancer quickstart" "sample-templates/django quickstart" "sample-templates/sample pipeline" "sample-templates/mongodb" "sample-templates/mysql" "sample-templates/rails quickstart" "sample-templates/jenkins pipeline ephemeral" "sample-templates/mariadb" "sample-templates/nodejs quickstart"
I0924 ::20.746863 interface.go:] Finished installing "openshift-router" "openshift-web-console-operator" "centos-imagestreams" "openshift-image-registry" "sample-templates" "persistent-volumes"
Server Information ...
OpenShift server started. The server is accessible via web console at:
https://192.168.99.100:8443
运行oc-env命令,将路径加到path中
ericdeMacBook-Pro:v1.12.0 ericnie$ minishift oc-env
export PATH="/Users/ericnie/.minishift/cache/oc/v3.10.0/darwin:$PATH"
# Run this command to configure your shell:
# eval $(minishift oc-env)
然后就可以愉快的玩耍了......
minishift安装的更多相关文章
- 【译文连载】 理解Istio服务网格(第二章 安装)
全书目录 第一章 概述 本文目录 1.命令行工具安装 2. Kubernetes/OpenShift安装 3. Istio安装 4.示例Java微服务安装 4.1 源码概览 4.2 编译和部署cust ...
- OpenShift helm的安装
1.安装过程 下载addons的代码 $ git clone https://github.com/jorgemoralespou/minishift-addons $ cd minishift-ad ...
- CDK安装
1.下载cdk https://developers.redhat.com/products/cdk/download/ 2.在mac OS上更名并加入目录 $ mkdir -p ~/bin $ cp ...
- OpenShift 本地开发环境配置(基于 Minishift)
本文要做什么? 很多为了验证应用在 OpenShift 平台的行为是否正常,或者组成一个简单的开发环境,直接搭建一个 OpenShift/Origin 环境可能太重了,而且运行在本机可能占用内存也太多 ...
- docker——容器安装tomcat
写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...
- 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法
如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...
- Sublime Text3安装JsHint
介绍 Sublime Text3使用jshint依赖Nodejs,SublimeLinter和Sublimelinter-jshint. NodeJs的安装省略. 安装SublimeLinter Su ...
- Fabio 安装和简单使用
Fabio(Go 语言):https://github.com/eBay/fabio Fabio 是一个快速.现代.zero-conf 负载均衡 HTTP(S) 路由器,用于部署 Consul 管理的 ...
- gentoo 安装
加载完光驱后 1进行ping命令查看网络是否通畅 2设置硬盘的标识为GPT(主要用于64位且启动模式为UEFI,还有一个是MBR,主要用于32位且启动模式为bois) parted -a optima ...
随机推荐
- Sql中把datetime转换成字符串(CONVERT)(转)
一.回顾一下CONVERT()的语法格式: CONVERT (<data_ type>[ length ], <expression> [, style]) 二.这里注重说明一 ...
- python初学--文件操作、字典
文件读写 1.先打开文件 2.读取/写入内容 3.保存文件 文件的open模式有三种 1.w 写模式,它是不能读的 只要用w打开文件,文件中的东西都会被清空 w+, 写读模式,只要沾上w 就会清空 ...
- 【python】if __name__ == '__main__'
转载自:http://www.cnblogs.com/xuxm2007/archive/2010/08/04/1792463.html 当你打开一个.py文件时,经常会在代码的最下面看到if __na ...
- Linux安装mysql.8.0.12
1. linux安装mysql8.0.12,亲测可用. 以下是安装过程中出现的问题: 1 [root@localtest1 file]# systemctl start mysqld 2 Job fo ...
- jboss和tomcat有什么不同
2.tomcat 是 JSP/Servlet 容器jboss 是 JEE 容器,JEE 包括JSP/Servlet,JMS, EJB,JAX-WS,JAX-RS,CDI等等, tomcat是完全开源, ...
- 一个有趣的基于Django的调试插件--django-debug-toolbar
django-debug-toolbar 介绍 django-debug-toolbar 是一组可配置的面板,可显示有关当前请求/响应的各种调试信息,并在单击时显示有关面板内容的更多详细信息. git ...
- EF Groupby
最近做了个检索类的项目,其中就用到统计了,就是按照热门搜索排序来的. 话不多说,直接代码 var requirementSearchesOrder = app_RequirementSearches. ...
- sublime插件总汇
本人用过多个编辑器(非IDE),发现sublime的样式非常帮,现在做个插件总汇 ChineseLocalzations 中文插件 Emmet ...
- PTA L2-002 链表去重 团体程序设计天梯赛-练习集
L2-002 链表去重(25 分) 给定一个带整数键值的链表 L,你需要把其中绝对值重复的键值结点删掉.即对每个键值 K,只有第一个绝对值等于 K 的结点被保留.同时,所有被删除的结点须被保存在另 ...
- UML动态模型(顺序图、协作图、状态图)
顺序图:用来表示用例中的行为顺序,当执行一个用例行为时,顺序图中的每条信息 对应了一个类操作或状态机中引起转换的事件.顺序图展示对象之间的交互,这些交互是指在场景或用例的时间六中发生的,顺序图属于动态 ...