Centos6安装go-ethereum教程
发表日期:2020-11-14 00:45:55 来源:江山川 作者:江山川 阅读:1840

yum install  -y git go git

git clone https://github.com/ethereum/go-ethereum.git

cd go-ethereum/

git checkout release/1.8

make all

echo "export PATH=$PATH:/eth/go-ethereum/build/bin" >> /etc/profile

source /etc/profile

geth version

cd ../

nohup geth --syncmode "fast" --cache=10000 --datadir “/eth/data/“ --rpc --rpcapi db,net,eth,web3,personal --rpcaddr 0.0.0.0 --rpccorsdomain "*" 2>>/eth/log/geth.log &

geth attach /data/geth/geth.ipc


服务器放在香港,硬盘最好使用SSD高效云盘,最低容量在300GB,带宽为10M。CPU在4核8G,整个同步数据预计5-7天。




免责声明: 凡注明来源本网的所有作品,均为本网合法拥有版权或有权使用的作品,欢迎转载,注明出处。非本网作品均来自互联网,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。
最新咨询