I’d like to give a try to “ethereum mining” on a CentOS7 VM.

Since on the web I could only find Debian8/Ubuntu howto, here is how I did it.

 

 

 

Install GO 1.7

cd /tmp
curl -LO https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
tar -C /usr/local/ -xvf go1.8.1.linux-amd64.tar.gz
export GOROOT=/usr/local/go 
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Setup profile

vi /etc/profile.d/go.sh
export GOPATH=/usr/local/go
export GOROOT=/usr/local/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Install geth

git clone https://github.com/ethereum/go-ethereum
cd go-ethereum
make geth

Create new ethereum wallet

buind/bin/geth account new

Start kining in local LAN

build/bin/geth --mine --minerthreads=2 --etherbase=0x00000000000000000000000000000

Usefull links:
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options

Leave a Reply

Your email address will not be published. Required fields are marked *