CPU Mining XMR – Monero on Ubuntu.

First you will need to setup an account with the pool of your choice.  Because unless you have spent  a sizable chunk of change you do not have anywhere near enough power to solo mine.  We use nanopool. 

I’m assuming by this point you have installed Ubuntu on your machine.  We use the server version to lighten the load on the system.

Required Packages

Install the required packages using the following commands:

sudo apt-get install libcurl4-openssl-dev git
sudo apt-get install build-essential
sudo apt-get install autotools-dev autoconf
sudo apt-get install libcurl3 libcurl4-gnutls-dev

Installing the miner

Now, let’s clone the CPU miner program called cpuminer-multi:

mkdir /download
cd /downloads
git clone https://github.com/wolf9466/cpuminer-multi

Compile and install the cpuminer-multi:

cd cpuminer-multi

If autogen.sh fails:  sudo apt-get install automake
CFLAGS=”-march=native” ./configure –disable-aes-ni
sudo make install

Mining Monero

Use the following command to start mining Monero:

minerd -a cryptonight -o stratum+tcp://xmr-eu1.nanopool.org:14444 -u stratum+tcp://xmr-eu1.nanopool.org:14444 -u 4BrL51JCc9NGQ71kWhnYoDRffsDZy7m1HUU7MRU4nUMXAHNFBEJhkTZV9HdaL4gfuNBxLPc3BeMkLGaPbF5vWtANQryphu5Rue19i6QwS7.miner243 -p x -t 2

REMEMBER to replace the wallet address dot worker name with your own.

Set the t parameter equal to the number of cores your cpu has.  So if you have a 4 core cpu then it would be -t 4

If you’d like to say thanks with a monero donation please send it to: 4BrL51JCc9NGQ71kWhnYoDRffsDZy7m1HUU7MRU4nUMXAHNFBEJhkTZV9HdaL4gfuNBxLPc3BeMkLGaPbF5vWtANQryphu5Rue19i6QwS7

Leave a Reply