安装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.gzvim /etc/profile
export GOPATH=/opt/gopath
export GOROOT=/opt/golang/go
export PATH=$GOROOT/bin:$PATHsource /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