Would you like to learn how to do Monero CPU miner? In this tutorial, we are going to show you how to CPU mine Monero using a computer running Ubuntu Linux.
Hardware List:
The following section presents the list of equipment used to create this Monero CPU Miner tutorial.
Every piece of hardware listed above can be found at Amazon website.
Monero Playlist:
On this page, we offer quick access to a list of videos related to Monero mining tutorial.
Don’t forget to subscribe to our youtube channel named FKIT.
Monero Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Monero.
Tutorial – Monero CPU Miner on Linux
Create a new account on the Minergate website to become a member of the mining pool
For this tutorial to work, you are required to create an account on the Minergate website.
This tutorial was created specifically for the Minergate mining pool.
On the Linux console, use the following commands to install Docker.
# apt-get update
# apt-get install docker.io
Download the CPU Miner image from the online repository.
# docker pull virtualcoin/cpuminer
List the Docker images installed on your system.
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
virtualcoin/cpuminer latest aebee477a2a8 7 minutes ago 257 MB
Use the following command to start mining Monero using 100% of the CPU power.
# docker run –rm -it virtualcoin/cpuminer monero virtualcoin.videos@gmail.com
You must change the username virtualcoin.videos@gmail.com from the command above to your username.
Keep in mind that the username virtualcoin.videos@gmail.com was used only as an example.
Wait 5 minutes and take a look at Minergate’s Dashboard.
You are now mining Monero on the Minergate pool.
Limit CPU Usage
Use the following command to start mining Monero using only 50% of the CPU power.
# docker run –cpus=0.5 –rm -it virtualcoin/cpuminer monero virtualcoin.videos@gmail.com
Use the following command to start mining Monero using only 80% of the CPU power.
# docker run –cpus=0.8 –rm -it virtualcoin/cpuminer monero virtualcoin.videos@gmail.com
Monero Background Mining
To start mining Monero in the background, use the following command:
# docker run –rm -d virtualcoin/cpuminer monero virtualcoin.videos@gmail.com
If you are mining in the background and want to verify the system log.
First, you need to get the Monero container ID:
# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d2705fba1efa virtualcoin/cpuminer “monero virtualcoi…” 8 minutes ago Up 8 minutes tender_hypatia
Take note of the container ID.
Use the following command to verify the log.
# docker logs d2705fba1efa
You need to change the container ID d2705fba1efa from the command above to your container ID.
The result should be something similar to:
[2018-03-13 18:39:29] accepted: 164/164 (diff 0.000), 10.75 H/s yes!
[2018-03-13 18:40:00] CPU #1: 5.95 H/s
[2018-03-13 18:40:01] accepted: 165/165 (diff 0.000), 11.53 H/s yes!
[2018-03-13 18:40:20] CPU #0: 5.89 H/s
[2018-03-13 18:40:52] accepted: 166/166 (diff 0.000), 11.57 H/s yes!