How to mine Monero (XMR) on linux

in crypto •  2 years ago

I've made this guide to be a reference for myself to setup cpu miners on cloud providers.


monero-logo

Set up dependencies

sudo apt-get install -y git automake  pkg-config build-essential libcurl4-openssl-dev

Download the miner

git clone https://github.com/wolf9466/cpuminer-multi

Build minerd from source:

cd cpuminer-multi
./autogen.sh
CFLAGS="-march=native" ./configure
make

Run it

I'm using the Minergate pool address from here

 ./minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u email@example.com -p x
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!