git升级
git --version
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc
yum install gcc perl-ExtUtils-MakeMaker
yum remove git
cd /usr/local/src/
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.32.0.tar.xz
tar -xvf git-2.32.0.tar.xz
cd git-2.32.0
make prefix=/usr/local/git all
make prefix=/usr/local/git install
echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/profile && source /etc/profile
安装go,配置go环境
# 修改go env
go env -w GOPRIVATE="gitlab.aishu.cn,gitlab2.aishu.cn"
go env -w GOPROXY="https://repository.aishu.cn:8081/repository/go-all"