Openshift yum安装
Openshift yum安装:
Yum 安装docker
[root@DockerServer openshift]# yum repolist
[root@DockerServer openshift]# yum install docker
[root@DockerServer openshift]# systemctl enable docker
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
vi修改 /etc/docker/daemon.json
{
“registry-mirrors”: [“https://registry.docker-cn.com“]
}
[root@DockerServer openshift]# systemctl start docker

yum安装Openshift
[root@DockerServer sky]# yum list all | grep openshift
centos-release-openshift-origin.noarch 1-1.el7.centos extras
centos-release-openshift-origin13.noarch 1-1.el7.centos extras
centos-release-openshift-origin14.noarch 1-1.el7.centos extras
centos-release-openshift-origin15.noarch 1-1.el7.centos extras
centos-release-openshift-origin36.noarch 1-1.el7.centos extras
centos-release-openshift-origin37.noarch 1-1.el7.centos extras
[root@DockerServer sky]# yum info centos-release-openshift-origin37.noarch
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
可安装的软件包
名称 :centos-release-openshift-origin37
架构 :noarch
版本 :1
发布 :1.el7.centos
大小 :11 k
源 :extras/x86_64
简介 : Yum configuration for OpenShift Origin 3.7 packages
网址 :https://wiki.centos.org/SpecialInterestGroup/PaaS/OpenShift
协议 : GPLv2
描述 : yum configuration for OpenShift Origin 3.7 packages as delivered via the
: CentOS PaaS SIG.
[root@DockerServer sky]# rpm -ql centos-release-openshift-origin37
/etc/yum.repos.d/CentOS-OpenShift-Origin37.repo
/usr/share/licenses/centos-release-openshift-origin37-1
/usr/share/licenses/centos-release-openshift-origin37-1/LICENSE
[root@DockerServer sky]# ll /etc/yum.repos.d/
总用量 40
-rw-r--r-- 1 root root 2373 3月 31 16:14 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 8月 30 2017 CentOS-CR.repo
-rw-r--r--. 1 root root 649 8月 30 2017 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 314 8月 30 2017 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 8月 30 2017 CentOS-Media.repo
-rw-r--r-- 1 root root 884 12月 9 05:26 CentOS-OpenShift-Origin37.repo
-rw-r--r--. 1 root root 1331 8月 30 2017 CentOS-Sources.repo
-rw-r--r--. 1 root root 3830 8月 30 2017 CentOS-Vault.repo
-rw-r--r-- 1 root root 2424 3月 31 16:15 docker-ce.repo
-rw-r--r-- 1 root root 653 12月 27 08:32 docker.repo
[root@DockerServer yum.repos.d]# yum install origin
[root@DockerServer yum.repos.d]# service docker status
Redirecting to /bin/systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: active (running) since 日 2018-04-15 14:57:02 CST; 14min ago
Docs: http://docs.docker.com
Main PID: 1304 (dockerd-current)
CGroup: /system.slice/docker.service
├─1304 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=dock... └─1309 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-inter...
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.215502220+08:00" level=info msg="Loading conta...tart."
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.218886862+08:00" level=info msg="Firewalld run...false"
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.264772799+08:00" level=info msg="Default bridg...dress"
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.287595155+08:00" level=info msg="Loading conta...done."
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.291466599+08:00" level=warning msg="failed to ...dev\n"
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.291496812+08:00" level=warning msg="failed to ...rsion"
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.291901441+08:00" level=info msg="Daemon has co...ation"
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.291913977+08:00" level=info msg="Docker daemon...1.13.1
4月 15 14:57:02 DockerServer dockerd-current[1304]: time="2018-04-15T14:57:02.308508423+08:00" level=info msg="API listen on....sock"
4月 15 14:57:02 DockerServer systemd[1]: Started Docker Application Container Engine.
Hint: Some lines were ellipsized, use -l to show in full.
[root@DockerServer yum.repos.d]# openshift start
访问https://192.168.1.151:8443

Openshift yum安装的更多相关文章
- OpenShift实战(一):OpenShift高级安装
1.1 服务器基本信息 本次安装采用一个master.5个node.3个etcd,node节点两块硬盘,60G磁盘用于docker storage,xxx改为自己的域名或主机名. 节点 功能 IP 内 ...
- yum安装php,php-fpm
1.检查当前安装的PHP包 yum list installed | grep php 如果有安装的PHP包,先删除他们 yum remove php.x86_64 php-cli.x86_64 ph ...
- Linux下yum安装MySQL
写这篇文章的原因是:在刚开始使用Linux操作系统时想要搭建LAMP环境,于是开始在Google和百度上各种寻找资料,碰到了不是很多的问题后,我决定写这篇文章总结一下在Linux下yum安装MySQL ...
- salt源码安装软件和yum安装软件
上面简单列出了源码安装的sls文件书写思路. 涉及到一些固定的思路:如, 1,拷贝 解压安装时候需要依赖tar.gz存在 如果已安装则无需再次安装. 2,启动脚本 加入chk时候需要文件存在,如果已添 ...
- CentOS 7.0 使用 yum 安装 MariaDB 与 MariaDB 的简单配置
1.安装MariaDB 安装命令 yum -y install mariadb mariadb-server 安装完成MariaDB,首先启动MariaDB,两条命令都可以 systemctl sta ...
- centos7下使用yum安装mysql
CentOS7的yum源中默认好像是没有mysql的.为了解决这个问题,我们要先下载mysql的repo源. 1. 下载mysql的repo源 wget http://repo.mysql.com/m ...
- 编译安装 varnish-4.1.2和yum 安装 varnish-4.0.3
vanish可以让用户自己选择缓存数据是存于内存还是硬盘,存于内存一般基于二八法则即常访问的数据是磁盘存储的总数据五分之一,因此内存也应该是硬盘文件大概五分之一.如果有多台vanish则,总内存满足即 ...
- Linux Yum 安装JDK
1.查看CentOS自带JDK是否已安装. 输入:yum list installed |grep java. 2.若有自带安装的JDK,如何卸载CentOS系统自带Java环境? 卸载JDK相关文件 ...
- CentOS下yum安装LAMP
1. 用yum安装Apache,Mysql,PHP. 1.1安装Apache yum install httpd httpd-devel 安装完成后,用/etc/init.d/httpd start ...
随机推荐
- 2019nc#7
题号 标题 已通过代码 题解/讨论 通过率 团队的状态 A String 点击查看 进入讨论 566/3539 通过 B Irreducible Polynomial 点击查看 规律 730/229 ...
- 求树的重心 DFS
树的重心 何谓重心 树的重心:找到一个点,其所有的子树中最大的子树节点数最少,那么这个点就是这棵树的重心,删去重心后,生成的多棵树尽可能平衡. 树的重心可以通过简单的两次搜索求出,第一遍搜索求出每个结 ...
- 牛客小白赛5 无关(relationship) 容斥原理(计算因子数的模板)
链接:https://www.nowcoder.com/acm/contest/135/A来源:牛客网 若一个集合A内所有的元素都不是正整数N的因数,则称N与集合A无关. 给出一个含有k个元素的集 ...
- bzoj 1051 [HAOI2006]受欢迎的牛(tarjan缩点)
题目链接:http://www.lydsy.com:808/JudgeOnline/problem.php?id=1051 题解:缩点之后判断出度为0的有几个,只有一个那么输出那个强连通块的点数,否者 ...
- FreeSql (三十三)CodeFirst 类型映射
前面有介绍过几篇 CodeFirst 内容文章,有 <(二)自动迁移实体>(https://www.cnblogs.com/FreeSql/p/11531301.html) <(三) ...
- 一次写文,多平台直接粘贴&打造最流畅的写作流程
文字爱好者的痛点 这一段可以跳过,解决办法在后面.因为大家既然痛过,也就懂了. 对于很多文字爱好者来说,都希望写一篇文章后,可以实现多平台发布. 国内的很多平台都开始支持 Markdown,除了微信公 ...
- java教程系列一:什么是Java语言?
海上生明月,天涯共此时. Java是一种通用的计算机编程语言,它具有卓越的通用性.高效性.平台移植性和安全性.它旨在让应用程序开发人员"write once, run anywhere&qu ...
- Winform中自定义xml配置文件后对节点进行读取与写入
场景 Winform中自定义xml配置文件,并配置获取文件路径: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100522648 ...
- H2 数据库使用简介
博客地址:http://www.moonxy.com 一.前言 H2 是一个用 Java 开发的嵌入式数据库,它本身只是一个类库,即只有一个 jar 文件,可以直接嵌入到应用项目中.H2 主要有如下三 ...
- .netCore部署在IIS上遇到的问题(500.19,500.21错误)
1.确保IIS功能都安装上了. 2.确保.netcore 的最新sdk已安装. 3.应用程序池改成无托管代码 4.500.19错误 错误原因,没有安装 DotNetCore.2.0.5-Windows ...