微服务Demo

第5章 5.1 PAAS 平台OpenShift Origin搭

2018-11-07  本文已影响139人  elef

搭建部署

关闭防火墙
安装docker

修改 /etc/docker/daemon.json 文件并添加上 registry-mirrors 键值。注意重新启动docker

$ vim /etc/docker/daemon.json
 
{
 "registry-mirrors": ["https://registry.docker-cn.com"],
 "insecure-registries": ["172.30.0.0/16"]
}

yum install centos-release-openshift-origin
yum install origin-clients
oc cluster up --skip-registry-check=true

mplates/postgresql"
I1107 16:53:47.865953 13306 interface.go:41] Finished installing "centos-imagestreams" "openshift-router" "sample-templates" "openshift-web-console-operator" "openshift-image-registry" "persistent-volumes"
Login to server ...
Creating initial project "myproject" ...
Server Information ...
OpenShift server started.
The server is accessible via web console at:
https://127.0.0.1:8443
You are logged in as:
User: developer
Password: <any value>
To login as administrator:
oc login -u system:admin

浏览器中输入 :https://127.0.0.1:8443/, 输入帐号密码:developer/developer


2018-11-07 16-57-30 的屏幕截图.png
2018-11-07 16-57-56 的屏幕截图.png
上一篇下一篇

猜你喜欢

热点阅读