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 -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服务
#git clone https://github.com/rancher/rancher.git
#docker run -d --restart=always -p 8080:8080 rancher/server(这边安装默认的server版本。要安装稳定版本可以加上tag,参考官方文档可知)
5.进入界面添加host
参考网址:1.http://docs.rancher.com/rancher/latest/en/quick-start-guide/ 2. https://github.com/rancher/rancher#launching-management-server
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。