java安装
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.tar.gz" && mkdir -p /usr/lib/jvm && tar zxvf jdk-8u141-linux-x64.tar.gz -C /usr/lib/jvm && echo 'export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_141/
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH' >> /etc/profile && source /etc/profile
golang安装
##https://go.dev/dl/go1.18.10.linux-amd64.tar.gz
#https://go.dev/dl/go1.20.2.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.16.7.linux-amd64.tar.gz && tar -zxvf go1.16.7.linux-amd64.tar.gz -C /usr/local && yum install -y git && echo 'export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export GOPATH=/opt/gopath
export PATH=$PATH:$GOPATH/bin' >> /etc/profile && mkdir /opt/gopath && mkdir /opt/gopath/src /opt/gopath/pkg /opt/gopath/bin && source /etc/profile && go env -w GOPROXY="https://goproxy.cn,direct" && yum install -y gcc && cd /opt/gopath/src
docker+harbor安装
curl -fsSL https://get.docker.com | bash -s docker --mirror aliyun #安装docker脚本
yum install -y yum-utils device-mapper-persistent-data lvm2 && yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && yum install -y docker-ce docker-ce-cli containerd.io && curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose && wget https://storage.googleapis.com/harbor-releases/release-1.8.0/harbor-offline-installer-v1.8.4.tgz && tar zxvf harbor-offline-installer-v1.8.4.tgz && cd harbor