fabric1.4基本环境安装

安装git
yum -y install gcc-c++ git

安装go语言

cd /opt
mkdir golang
cd golang
yum install wget -y
wget https://dl.google.com/go/go1.12.9.linux-amd64.tar.gz
tar -zxvf go1.12.9.linux-amd64.tar.gz

vim /etc/profile
export GOPATH=/opt/gopath
export GOROOT=/opt/golang/go
export PATH=$GOROOT/bin:$PATH

source /etc/profile

安装docker
yum install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce -y
systemctl start docker
systemctl enable docker
docker --version

安装docker-compose,负责实现对Docker容器集群的快速编排
yum -y install epel-release
yum -y install python-pip
pip --version
pip install --upgrade pi

猜你喜欢

转载自blog.csdn.net/Doudou_Mylove/article/details/102454596