美文网首页微服务Demo
第5章 5.1 PAAS 平台OpenShift Origin搭

第5章 5.1 PAAS 平台OpenShift Origin搭

作者: elef | 来源:发表于2018-11-07 14:00 被阅读139次

    搭建部署

    关闭防火墙
    安装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"]
    }
    
    
    • 开始安装开启openshift origin
    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

    相关文章

      网友评论

        本文标题:第5章 5.1 PAAS 平台OpenShift Origin搭

        本文链接:https://www.haomeiwen.com/subject/shqvxqtx.html