Centos7.2 install Rancher
Centos7.2 installation conditions for 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. Install docker1.11.1
curl -sSL https://get.docker.com/ | sh
The yum method is not used here, because the yum installation version is 1.9.1 and does not meet the conditions for installing Ranche.
3. Restart docker and disable firewall and selinux.
#service docker restart#systemctl stop firewalld#systemctl disable firewalld#vim /etc/selinux/config SELINUX=disabled
4. Install the Ranche Service
# Git clone https://github.com/rancher/rancher.git#docker run-d -- restart = always-p 8080: 8080 rancher/server (install the default server version here. You can add a tag to install a stable version. See the official documentation)
5. Enter the page to add the host
1. http://docs.rancher.com/rancher/latest/en/quick-start-guide/2.https://github.com/rancher/rancher#launching-management-server