第二节 geth安装错误解决

第二节 geth安装错误解决

  1. -bash: git: command not found
    -> 解决:yum -y install git

  2. env GO111MODULE=on go run build/ci.go install ./cmd/geth
    env: ‘go’: No such file or directory
    make: *** [Makefile:16: geth] Error 127
    -> 没有go环境安装go环境即可: yum -y install go

  3. go: github.com/Azure/[email protected]: Get “https://proxy.golang.org/github.com/%21azure/azure-pipeline-go/@v/v0.2.2.mod”: dial tcp 216.58.200.241:443: i/o timeout
    make: *** [Makefile:16: geth] Error
    -> go被墙,需要代理:go env -w GOPROXY=https://goproxy.cn,direct

  4. reqid=11 t=“371.111µs” err=“etherbase missing: etherbase must be explicitly specified”
    Error: etherbase missing: etherbase must be explicitly specified
    miner.start()无法启动,没有账号,新建一个账号即可:
    personal.newAccount(),然后输入密码:

你可能感兴趣的:(第二节 geth安装错误解决)