1. 拉取docker ubuntu镜像, 并降级apt-get

    apt-get update
  2. 装置Node.js

    apt-get install nodejsapt-get install npm
  3. 装置web3

    apt-get install gitnpm install web3@0.20.6
  4. 装置go

    apt-get install golang-go
  5. 装置geth

    apt-get install software-properties-commonadd-apt-repository -y ppa:ethereum/ethereumapt-get install ethereum
  6. 装置solcjs

    npm install -g solc

开始后注意事项:
本geth无rpc参数
关上可近程连贯geth的命令为

geth --datadir private/ --http --http.addr 0.0.0.0 --http.port 8545