环境准备
yum install git
yum install golang
获取二进制包
网站:https://geth.ethereum.org/downloads
wget https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-1.11.0-unstable-37e3208e.tar.gz
tar -zxvf geth-alltools-linux-amd64-1.11.0-unstable-37e3208e.tar.gz -C /home/blockchadin/geth-1.11.0
解压安装包并放置目录
mkdir /usr/local/geth-1.11.0
cp /home/blockchadin/geth-1.11.0/* /usr/local/geth-1.11.0/
添加环境变量(vim /etc/profile)
#BlockChain-Goth
export GETH_HOME=/usr/local/geth-1.11.0
export PATH=$PATH:$GETH_HOME
使环境变量生效并查看版本信息
source /etc/profile
geth version