以太坊部署

第一种以太坊编译安装

下载开源代码

git clone https://github.com/ethereum/g...git

git下载慢github

解决办法golang

添加hostswindows

192.30.253.112 github.comui

151.101.185.194 github.global.ssl.fastly.net.net

192.30.253.120 codeload.github.comrest

刷新DNS windows:cmd执行 ipconfig /flushdnscode

Linux:sudo dscacheutil -flushcache sudo /etc/init.d/networking restartdns

编译

cd go-ethereum ip

make geth

安装go 可是编译提示 go 未安装

检查go命令位置 是否在 go: /usr/bin/go

能够尝试创建软链接也能够按照错误提示信息 安装go1.9版本

最新go版本地址 (2017-7-19)

https://www.golangtc.com/stat...

编译成功运行 geth 便可

build/bin/geth

第二种 apt-get install

sudo apt-get install software-properties-common

sudo add-apt-repository -y ppa:ethereum/ethereum

sudo apt-get update

sudo apt-get install ethereum

相关文章
相关标签/搜索