电脑疯子技术论坛|电脑极客社区

 找回密码
 注册

QQ登录

只需一步,快速开始

[linux教程] centos7.2安装Rancher

[复制链接]
zhaorong 发表于 2017-3-18 15:17:40 | 显示全部楼层 |阅读模式
centos7.2安装Rancher

1.Ranche的安装条件

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


##2.安装docker1.11.1

  1. curl -sSL https://get.docker.com/ | sh
复制代码


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

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

  1. #service docker restart
  2. #systemctl stop firewalld
  3. #systemctl disable firewalld
  4. #vim /etc/selinux/config
  5.   SELINUX=disabled
复制代码


4.安装Ranche服务

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



5.进入界面添加host



参考网址:1.http://docs.rancher.com/rancher/latest/en/quick-start-guide/ 2.https://github.com/rancher/rancher#launching-management-server
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|VIP|电脑疯子技术论坛 ( Computer madman team )

GMT+8, 2025-2-2 20:39

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表