ZCash Miner: cpuminer-zcash

From OnnoWiki
Jump to navigation Jump to search
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm make git


# clone cpuminer
cd /usr/local/src
git clone https://github.com/pooler/cpuminer-zcash.git


# compile
cd /usr/local/src/cpuminer-zcash
./autogen.sh
./configure CFLAGS="-O3"
make


# choose a miner pool and register there

# start the miner
cd /usr/local/src/cpuminer/
./minerd -q -a sha256d -o stratum+tcp://sg.stratum.slushpool.com:3333 -O username.work:password
./minerd -q -a sha256d -o stratum+tcp://sg.stratum.slushpool.com:3333 -O username.work:password -t 1

Masukan ke /etc/rc.local

/usr/local/src/cpuminer/minerd -q -a sha256d -o stratum+tcp://sg.stratum.slushpool.com:3333 -O username.work:password -t 1