The company I work for has a lot of servers that are mostly used as web servers. They all run Centos 7 and for the most part are way over powered for the traffic that they serve. They are a perfect example of a way to make use of idle CPU time to mine Vertcoin. This guide will show you how to compile CPUMiner-Multi on Centos 7.
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 VTC address to your own, unless you want to mine for me :))
./cpuminer -a lyra2v2 -o stratum+tcp://vtc2.alwayshashing.com:9181 -u VjKJuxtactDGK37WboP1oLExhFQ9Zipgwe -p x
If you found this helpful, consider a donation!
Results on one of our 32 core servers: