go-ethereum在linux下编译问题

go-ethereum下载地址:
https://github.com/ethereum/go-ethereum

编译环境:
linux系统

编译步骤:
首先将下载好的go-ethereum压缩移到linux下,然后同tar指令进行解压,解压完成后,进入其目录执行make。
此处需要注意,在执行make的时候需要安装go环境,确保go环境在1.10及以上。
执行make指令的时候有两种make方式。
1.make geth
这种make方式是构建geth工具。
2.make all
这种make方式就是构建完整的以太坊工具。

编译问题:
在这里插入图片描述
解决办法:
用chmod指令修改bulid目录下env.sh文件的权限即可编译成功。

go-ethereum完整部署操作步骤:
https://github.com/ethereum/go-ethereum
Etalum协议的正式Go实现:
https://geth.ethereum.org
以太坊自动部署测试:
https://blog.csdn.net/qq_36651243/article/details/88633468

猜你喜欢

转载自blog.csdn.net/qq_36651243/article/details/88633117