centos7.2安装Rancher

前端之家收集整理的这篇文章主要介绍了centos7.2安装Rancher前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

centos7.2安装Rancher

1.Ranche的安装条件

·Docker 1.10.3
  ·Any modern Linux distribution that supports Docker 1.10.3. (Ubuntu,RHEL/CentOS 7 are more heavily tested.) Rancher also works with RancherOS.
  ·RAM: 1GB+

##2.安装docker1.11.1

curl -@H_502_10@sSL https://get.docker.com/ | sh

这边没有用yum方法,因为yum安装的版本是1.9.1的版本,不符合安装 Ranche的条件。

3.重启docker并关闭防火墙与selinux

#service docker restart
#systemctl stop firewalld
#systemctl disable firewalld
#vim /etc/selinux/config
  SELINUX=disabled

4.安装Ranche服务

@H_502_10@#git clone https://github.com/rancher/rancher.git
@H_502_10@#docker run @H_502_40@-d --restart=always @H_502_40@-p 8080:8080 rancher/server(这边安装默认的server版本。要安装稳定版本可以加上tag,参考官方文档可知)

5.进入界面添加host

参考网址:1.http://docs.rancher.com/rancher/latest/en/quick-start-guide/ 2. @L_403_1@

原文链接:https://www.f2er.com/centos/382186.html

猜你在找的CentOS相关文章