摘要: 第一步 安装docker(我的版本是19.03.8) 第二步 安装docker-compose(对应版本1.8.1,需要对应得python3.6以上) curl -L https://github.com/docker/compose/releases/download/1.8.1/docker-c 阅读全文
posted @ 2020-04-28 13:59 17366333833 阅读(210) 评论(0) 推荐(0)
摘要: 1.1 配置主机名添加hosts解析 cat <<EOF >>/etc/hosts> 192.168.252.1 master> 192.168.252.2 node01> EOF 1.2 关闭防火墙、selinux systemctl stop firewalld systemctl disabl 阅读全文
posted @ 2020-04-24 14:38 17366333833 阅读(365) 评论(0) 推荐(0)
摘要: 安装docker依赖包 yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 添加yum软件源 yum-config-manager \ --add-repo \ https://mirrors.ustc.edu.cn/doc 阅读全文
posted @ 2020-04-22 13:57 17366333833 阅读(124) 评论(0) 推荐(0)