(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
Read More:
- Go: How to Fix plug-in installation failure in vscode of windows system
- Go run error go run: cannot run non main package
- How to Fix unexpected directory layout in go language
- Error in go running: cannot find package “
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- go :Multiple-value strconv.Atoi() (int, error) in single-value context
- Problems encountered in the installation of pyromacoustics
- Go test print no output
- standard_init_linux.go:178: exec user process caused “no such file or directory”
- Problems encountered in running OpenGL
- NPM installØin sprintf- [email protected] Wealth: not available https://github.com/nhn/raphael.git/ “
- Error response from daemon: OCI runtime create failed: container_linux.go:380
- SSL_ERROR_SYSCALL in connection to github.com:443
- Record the problems encountered in OpenGL learning
- Problems encountered in configuring OpenGL development environment in vs2015
- Problems encountered in vs2015 configuration using OpenGL environment
- Summary of problems encountered in compiling opengl code
- $GOPATH/go.mod exists but should not
- OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443