【概述】在SUSE11上按照开源网站手册https://github.com/pingcap/tidb 下载 tidb-master.zip 解压并部署,wget无法被认证并卡在make这一步
ddl04:/home/tidb/huaxin/go/bin/tidb # make
CGO_ENABLED=1 GO111MODULE=on go build -tags codes -ldflags '-X “github.com/pingcap/parser/mysql.TiDBReleaseVersion=v5.2.0-alpha-79-g47f6ba2” -X “github.com/pingcap/tidb/util/versioninfo.TiDBBuildTS=2021-06-15 20:49:55” -X “github.com/pingcap/tidb/util/versioninfo.TiDBGitHash=47f6ba21f441eeaa93dbb6f022211b9a66c87a9e” -X “github.com/pingcap/tidb/util/versioninfo.TiDBGitBranch=master” -X “github.com/pingcap/tidb/util/versioninfo.TiDBEdition=Community” ’ -o bin/tidb-server tidb-server/main.go
go: github.com/BurntSushi/toml@v0.3.1: Get “https://proxy.golang.org/github.com/!burnt!sushi/toml/@v/v0.3.1.mod”: dial tcp 172.217.160.81:443: i/o timeout
【背景】已搭建Go环境
tidb@ddl04:~> which go
/usr/local/go/bin/go