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.28
TRX 0.13
JST 0.032
BTC 61361.03
ETH 2932.71
USDT 1.00
SBD 3.67