Cryptocurrency mining on Pi Zero
Hi guys here’s some short instructions how how to mine with the Raspberry Pi Zero. It won’t be very efficient! But can be done for fun and learning purposes.
Begin by heading over to https://minergate.com/ a mining pool where many users work together combining their computing resources. Each member of the pool is rewarded based on the amount of good work they’ve done. With a slice taken off the top of the pool’s organizers.
Load your Raspberry Pi, and then enter in the following commands into terminal or use SSH from a remote computer.
Begin by updating the OS.
sudo apt-get update && sudo apt-get upgrade -y
Then we install the software.
sudo apt-get install -qy automake autoconf pkg-config libcurl4-openssl-dev libssl-dev libjansson-dev libgmp-dev make g++ git
Next we clone the GitHub software cpu miner-multi.
git clone https://github.com/tpruvot/cpuminer-multi
Then enter the folder and build the software.
cd cpuminer-multi && ./build.sh
Finally we run the miner, when you type in this command you will need to replace YOUR_EMAIL with the e-mail you have signed up with for minergate.com.
./cpuminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45700 -u YOUR_EMAIL
And that’s it, you are how mining in the Raspberry Pi Zero W. Don’t expect to get rich! But it’s fun to see how you can do this in Linux.
Best of all these commands work on any Raspberry Pi. I’ve already run these instructions on my Pi 4 and yielded 7.6x the performance.
Please consider listening to my new podcast over on Spotify episodes released daily.
https://open.spotify.com/show/4IfvnRht5hHrelGAddDQ9Z?si=MDc1JwiMSyaSXjnaNAtmuQ
Listen to The RKE - Random Knowledge Enthusiast on Spotify. Welcome to The RKE, which stands for Random Knowledge Enthusiast! A podcast of s

















