Cpuminer installation commands on Linux Ubuntu 18.04

This blog contains all the commands to set up your cpuminer for cryptocurrency and does the mining. This blog is part of the course on how to create your own cryptocurrency.

Commands to setup Cpuminer for Cryptocurrency

sudo apt install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
git clone https://github.com/pooler/cpuminer.git
sudo chmod -R 777 cpuminer
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make

Solo mining

./minerd --url=127.0.0.1:6332 --user=coinuser --pass=coinpassword --coinbase-addr=NZpKeW5Qj2NfZEfL5W8Dh4oxS93FmLLGXb

About The Author