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 ember-cli@2.9.1
npm install -g bower
npm install
bower install
./build.sh

  

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值