fabric 单机环境搭建
centos+docker+docker-compose+fabric-sample
1. 修改yum源
(1)查看版本号
(2)wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
(3)修改版本号: vim CentOS-Base.repo :%s/$releasever/7-0.1406.el7/g sed -i ‘s/gpgcheck=1/gpgcheck=0/g‘ /etc/yum.repos.d/CentOS-Base.repo
(4)yum clean all yum makecache
(5)如果报连接错误 /etc/resolv.conf 添加 nameserver 8.8.8.8 nameserver 114.114.114.114 nameserver 223.5.5.5 # 这两个是阿里云公网DNS nameserver 223.6.6.6
2.准备工作
(1)yum install curl
(2)安装docker-compose
pip install docker-compose
(3)安装docker yum install docker-ce https://www.runoob.com/docker/centos-docker-install.html
(4)
相关推荐
87901735 2020-08-19
ningningmingming 2020-07-26
VFCSDN 2020-07-05
87447007 2020-07-04
87447007 2020-06-26
flycappuccino 2020-09-27
yudiewenyuan 2020-06-09
wannagonna 2020-06-08
89284553 2020-05-26
lizhengfa 2020-05-02
xiemanR 2020-09-21
数据人 2020-10-26
张立军的架构之路 2020-09-28
xiaohai 2020-09-16