以太坊部署

第一種以太坊編譯安裝

下載開源代碼

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

相關文章
相關標籤/搜索