(QIANG)
recently installed vuls on centos, which is the reason for QIANG’s frequent situation. Therefore, document several problems encountered and solutions
1.github.com undownloadable issues
before the reference to reprint an article in the link: https://blog.csdn.net/Jesusons/article/details/104267286
at the end of the centos/etc/hosts add p>
151.101.72.133 assets-cdn.github.com
151.101.229.194 github.global.ssl.fastly.net
will solve the problem
2. Resolve unknown import path “golang.org/x/sys/unix” : unrecognized import path “golang.org/x/sys”
is still QIANG, so you can’t directly visit golang.org. Fortunately, since Go 1.11, the Go module package dependency management tool has been officially supported. As long as you start Go modules, you can download it smoothly.
启用 Go Modules 功能
export GO111MODULE=on
配置 GOPROXY 环境变量
export GOPROXY=https://goproxy.io
put a download interface after solving these two problems