Monero Mining with CPUMiner-Multi On Centos 7

  • 10
  •  
  • 2
  •  
  •  
  •  
  •  
  •  
  •  
    12
    Shares

Update: Please see these articles for a better way to mine Monero on CPUs

This guide will show you how to compile CPUMiner-Multi on Centos 7 for mining Monero.

First lets install the packages needed:

yum groupinstall "Development Tools"

yum install curl-devel openssl-devel git screen

screen

cd /usr/local/src/

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

cd cpuminer-multi

./autogen.sh

./configure CFLAGS="-march=native" --with-crypto --with-curl

./build.sh

Now all that is left is to run the cpuminer command. You can use the following: (Be sure you change the XMR address to your own, unless you want to mine for me :))

./cpuminer -a cryptonight -o stratum+tcp://pool.usxmrpool.com:3333 -u 46dpA9N1KDE9yERcSGASXPUyA4ga1GrPq5sDXqwwjQL2dAmf5kvgpNQUWdvyT1r55pfwfvuBn2h7YQPhZFYdWtjWUVUTobh -p x

If you found this helpful, consider a donation!

Results on one of our 32 core servers:

 

Happy mining!


  • 10
  •  
  • 2
  •  
  •  
  •  
  •  
  •  
  •  
    12
    Shares

Leave a Reply

19 Comments on "Monero Mining with CPUMiner-Multi On Centos 7"

avatar
  Subscribe  
newest oldest most voted
Notify of
Ivan
Guest

When I come to the last step ./build.sh I get error:
configure: error: C compiler cannot create executables
See `config.log’ for more details
/bin/sh ./config.status –recheck
/bin/sh: ./config.status: No such file or directory
make: *** [config.status] Error 127
strip: ‘cpuminer’: No such file

candroid
Guest

thank you for the tutorial, but when I tried to step the last message appears : “bash: ./cpuminer: No such file or directory”. What’s wrong ? the order is right and appropriate that you explain here. What is the solution then ? . Thank you

note: i use Vps vultr

Rodrigo
Guest

use sudo at the beggining

Fabiano
Guest

Muito obrigado, me ajudou muito, já esta funcionando no meu Centos 7, como gratidão vou deixar um tempo minerando para sua wallet. 😉

Willian Mazzardo
Guest

Hi … where do I change to miner into my wallet? Is the -u parameter?

Guillermo Rey
Guest

Where can i set up my user account (-u)?

Alpha
Guest

This works great

Chetan Vora
Guest

Stratum connection failed: Failed connect to pool.usxmrpool.com:3333; Connection refused

Milo
Guest

Try another pool, like monerohash.com.

Pankaj Kumar
Guest
Hi, I did the setup accordingly and i am getting the details like [2018-01-01 14:01:56] CPU #2: 27.14 H/s [2018-01-01 14:01:56] accepted: 3740/3740 (diff 0.000), 106.46 H/s yes! [2018-01-01 14:02:05] CPU #0: 28.03 H/s [2018-01-01 14:02:05] accepted: 3741/3741 (diff 0.000), 108.78 H/s yes! [2018-01-01 14:02:10] accepted: 3742/3742 (diff 0.000), 110.39 H/s yes! [2018-01-01 14:02:14] CPU #3: 27.64 H/s [2018-01-01 14:02:14] accepted: 3743/3743 (diff 0.000), 111.26 H/s yes! [2018-01-01 14:02:18] accepted: 3744/3744 (diff 0.000), 109.89 H/s yes! [2018-01-01 14:02:28] CPU #1: 27.27 H/s [2018-01-01 14:02:56] CPU #2: 26.96 H/s [2018-01-01 14:03:12] CPU #0: 27.95 H/s [2018-01-01 14:03:13] CPU #2: 26.49 H/s… Read more »
MohaBassam
Guest

Hi, Thanks for the tutorial it was very helpful
but if I am using exodus wallet what will be the pool address??

Rafael
Guest

Watch out!
The source code is infected with trojan horse, you know?

Sree
Guest

I’m receiving segmentation fault when running the miner
########

Using JSON-RPC 2.0
[2018-02-15 01:17:40] CPU Supports AES-NI: NO
[2018-02-15 01:17:40] Starting Stratum on stratum+tcp://xmr.poolto.be:2999
[2018-02-15 01:17:40] 2 miner threads started, using ‘cryptonight’ algorithm.
[2018-02-15 01:17:41] Stratum difficulty set to 2500
Segmentation fault