Centos7.2 install Rancher

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.