centos安装ethereum

yum update -y && yum install git wget bzip2 -y
wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz --no-check-certificate
tar zxvf go1.8.3.linux-amd64.tar.gz
 mv go /usr/local/
echo "export GOROOT=/usr/local/go" >> /etc/profile
echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile
source /etc/profile
git clone https://github.com/ethereum/go-ethereum.git
cd go-ethereum
make all
./build/bin/geth --fast --cache=2048 console --rpc --rpcaddr 0.0.0.0 --mine --minerthreads=16 --etherbase=0x3d21c1ae98263276d96d41ddace7199958f37991 makedag &
cd ~
git clone https://github.com/sammy007/open-ethereum-pool.git
cd open-ethereum-pool
make
./build/bin/open-ethereum-pool config.example.json &
cd ~
wget http://download.redis.io/releases/redis-3.0.4.tar.gz
tar -xzvf redis-3.0.4.tar.gz
cd redis-3.0.4
make
make install
cp redis.conf /etc/
cd /usr/local/bin
./redis-server /etc/redis.conf &

  

yum -y install gcc make gcc-c++ openssl-devel wget
cd ~
wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz
tar -zvxf node-v0.10.26.tar.gz
make && make install

  

cd ~
yum -y install gcc make gcc-c++ openssl-devel wget wget http://nodejs.org/dist/v0.10.26/node-v0.10.26.tar.gz tar -zvxf node-v0.10.26.tar.gz make && make install
npm install -g [email protected]
npm install -g bower
npm install
bower install
./build.sh

  

转载于:https://www.cnblogs.com/jiecaoge/p/7209777.html

你可能感兴趣的:(centos安装ethereum)