安装openshift

1、下载地址:https://github.com/openshift/origin/releases

3.11下载:https://github.com/openshift/origin/releases/tag/v3.11.0

2、上传到/opt目录

mv openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz /opt

3、解压

cd /opt
tar -zxvf openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz

4、目录太长,创建一个软链接

ln -s openshift-origin-server-v3.11.0-0cbc58b-linux-64bit /opt/openshift

5、 修改/etc/profile,加入环境变量

PATH=$PATH:/opt/openshift/

执行生效

source /etc/profile

6、启动集群

oc cluster up --skip-registry-check=true --public-hostname=”10.10.10.114”

启动完成出现

The server is accessible via web console at:
    https://10.10.10.114:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin

7、配置防火墙

firewall-cmd --zone=public --add-port=8443/tcp --permanent

重新载入防火墙

firewall-cmd --reload

8、浏览器访问 https:// 10.10.10.114:8443

https://www.jianshu.com/p/dc0edfbbc5ebLinux centos openshift安装教程整理_Linux

用户名 developer 密码:developer

参考连接:
openshift官网
openshift单机版安装
openshift集群ansible安装
Centos7 下安装openshift
OpenShift介绍