How to mine Monero (XMR) on linux

in #crypto8 years ago (edited)

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 protected] -p x

Coin Marketplace

STEEM 0.19
TRX 0.25
JST 0.038
BTC 97652.22
ETH 3383.77
USDT 1.00
SBD 3.08