centos7.2安装Rancher
时间:2016-06-01 02:19 来源:linux.it.net.cn 作者:IT
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
(责任编辑:IT)
centos7.2安装Rancher1.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 (责任编辑:IT) |