How to mine Monero (XMR) on linux
I've made this guide to be a reference for myself to setup cpu miners on cloud providers.
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