神剑山庄资源网 Design By www.hcban.com
最快速体验openshift目前最新版本3.9的方法。
事前准备
[root@host ~]# git clone http://github.com/liumiaocn/easypack.git Cloning into 'easypack'... remote: Counting objects: 1050, done. remote: Compressing objects: 100% (59/59), done. remote: Total 1050 (delta 29), reused 6 (delta 3), pack-reused 985 Receiving objects: 100% (1050/1050), 157.41 KiB | 0 bytes/s, done. Resolving deltas: 100% (464/464), done. [root@host ~]# cd easypack/openshift/ [root@host openshift]# ls install-openshift.sh [root@host openshift]#
安装
安装命令:sh install-openshift.sh
[root@host openshift]# sh install-openshift.sh Sun May 6 09:16:16 EDT 2018 ## Step 1: OS version confirm: Linux host.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux CentOS Linux release 7.3.1611 (Core) ## Install docker Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.it.ubc.ca * extras: mirror.it.ubc.ca * updates: mirror.csclub.uwaterloo.ca ...安装docker Sun May 6 09:16:16 EDT 2018 ## Step 2: Set net.ipv4.ip_forward net.ipv4.ip_forward=1 net.ipv4.ip_forward=1 sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1 Sun May 6 09:16:17 EDT 2018 ## Step 3: Set registry & Restart docker { "insecure-registries": [ "172.30.0.0/16" ] } ## systemctl daemon-reload ## systemctl restart docker ## confirm docker version Client: Version: 1.13.1 API version: 1.26 Package version: <unknown> Go version: go1.8.3 Git commit: 774336d/1.13.1 Built: Wed Mar 7 17:06:16 2018 OS/Arch: linux/amd64 Server: Version: 1.13.1 API version: 1.26 (minimum version 1.12) Package version: <unknown> Go version: go1.8.3 Git commit: 774336d/1.13.1 Built: Wed Mar 7 17:06:16 2018 OS/Arch: linux/amd64 Experimental: false Sun May 6 09:16:20 EDT 2018 ## Step 4: Set for firewall ...设定防火墙端口 Sun May 6 09:16:21 EDT 2018 ## Step 5: get and setting oc: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.it.ubc.ca * extras: mirror.it.ubc.ca * updates: mirror.csclub.uwaterloo.ca Package wget-1.14-15.el7_4.1.x86_64 already installed and latest version Nothing to do --2018-05-06 09:16:22-- ...下载oc客户端工具 2018-05-06 09:16:40 (2.45 MB/s) - "https://127.0.0.1:8443" as "developer" using existing credentials. You have one project on this server: "myproject" Using project "myproject". ## Finished. [root@host openshift]#
结果确认
相关的镜像
[root@host openshift]# docker images |grep openshift docker.io/openshift/origin-web-console v3.9.0 6d397283b924 6 days ago 489 MB docker.io/openshift/origin-docker-registry v3.9.0 45f47bc77de8 6 days ago 458 MB docker.io/openshift/origin-haproxy-router v3.9.0 42e8fd168a7a 6 days ago 1.28 GB docker.io/openshift/origin-deployer v3.9.0 2dcb16bd17a4 6 days ago 1.25 GB docker.io/openshift/origin v3.9.0 e28708220c0b 6 days ago 1.25 GB docker.io/openshift/origin-pod v3.9.0 b549aa96e0a7 6 days ago 220 MB [root@host openshift]#
验证管理员权限
[root@host openshift]# oc login -u system:admin Logged into "https://127.0.0.1:8443" as "system:admin" using existing credentials. You have access to the following projects and can switch between them with 'oc project <projectname>': default kube-public kube-system * myproject openshift openshift-infra openshift-node openshift-web-console Using project "myproject". [root@host openshift]#
本地连接方式
ssh -p 10023 -L 80:127.0.0.1:80 127.0.0.1 ssh -p 10023 -L 8443:127.0.0.1:8443 127.0.0.1 https://127.0.0.1:8443
总结
以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,谢谢大家对的支持。如果你想了解更多相关内容请查看下面相关链接
神剑山庄资源网 Design By www.hcban.com
神剑山庄资源网
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
神剑山庄资源网 Design By www.hcban.com
暂无快速安装openshift的步骤详解的评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年09月21日
2024年09月21日
- [ABC]安娜-胆麦发烧女声[6N纯银镀膜][2016[低速原抓WAV+CUE]
- 任天堂今晚举行直面会!第三方及独立游戏展示
- 《哆啦A梦的铜锣烧店物语》发售!开罗公式+哆啦A梦
- 任天堂公布《塞尔达传说》系列时间线:野炊与王泪独立在外
- 五条人.2012-一些风景2CD【刀马旦】【WAV+CUE】
- 陈奕迅.2013-Easons.Life演唱会2CD(2024环球红馆40复刻系列)【环球】【WAV+CUE】
- 许美静.1995-遗憾(新马版)【上华】【WAV+CUE】
- 《叶倩文 歌声情缘》[WAV+CUE][410MB]
- 《张国荣 首首动听经典不容错过 追忆的风 2CD》[WAV+CUE][870MB]
- 《腾格尔 容中尔甲 亚东 高原三星 男人篇 3CD》[WAV/分轨][1GB]
- 命运圣契公测实测可用兑换码大全 命运圣契最新兑换码分享
- 黑神话悟空上品疾蝠精魄获取方法一览|上品疾蝠精魄收集攻略
- 《七龙珠电光炸裂!ZERO》GT角色预告片曝光,15位新角色登场
- [ABC]安娜-胆麦发烧女声[6N纯银镀膜][2016[低速原抓WAV+CUE]
- NewViennaOctetViennaWindSoloists-TheDeccaRecordings(2024)18CD[24-48][FLAC]-7