You can mine Monero (XMR) with your GPU or CPU but the benefit of mining with GPU is limited because CryptoNight is according to Wikipedia “AES-intensive and “memory heavy”. Choosing GPU or CPU is depending what hardware you use but in this little tutorial I show you a miner software which is open source and covers both, it has a version for everything. So let’s start.

[caption id=”attachment_3176” align=”aligncenter” width=”554”]monero_miner Even popular pages mining, like TPB. Picture Source: threatpost.com[/caption]

Choosing a Miner program

First be careful, there tons of fake programs out there which trying to steal your mining power so the first and most important advise is to use open source programs which getting reviewed, if possible compile it yourself.

We are going to use xmrig, which is available in three versions, one for the CPU one for the GPU (nVidia/AMD). Alternative programs which I can suggest are xmr-stak or ccminer.

Download and extract the files

Download xmrig and extract the package which contains 3 files onto your desktop or another place.

Untitled

Before you start the start.cmd we need to configure the address we want to mine from.

Creating a config file

You can do this on two ways, manually or with an automatically process/website.

[caption id=”attachment_3177” align=”alignnone” width=”1188”]XMRIG The website is for beginner and easy to understand.[/caption]

All you have to do is give the page your XMR address and choose some basic things like which OS you use and how many processing power you like to spent on mining. The process is easy peasy and done in 2 minutes. After you’re done you can save the configuration but you won’t find a download button.

[caption id=”attachment_3180” align=”alignnone” width=”1164”]fe Email and worker name are optional.[/caption]

Just copy & paste the content you see ‘Command line’ into the start.cmd. and the config.json goes - no surprise - into the config.json file. That’s basically all you have to do, you could (if you want) tweak the parameters in the json file later, everything is documented on GitHub.

Changing the pool

You might want to change the pool, personally I use pool.supportxmr.com, so edit the pool line in the start.cmd and config.json file. A list of all pools are available here, please ensure you use the correct port, just replace it and that’s it.

That's it re-check the configuration one last time and then start mining

Untitled

The configuration looks fine, the parameters are mostly self-explaining and you can change it anytime, for each change you need to restart the start.cmd to apply the change.

Starting the miner

[caption id=”attachment_3182” align=”aligncenter” width=”979”]grg The old system can still be useful.[/caption]

Just click on the start.cmd and that’s it, ensure you gave the xmrig.exe Internet permission and start mining.

Final Words

Mining is very easy, just use open source software setup your configuration and start mining. Ensure you always update the software to get the latest versions because Monero might have changed something which requires and update on the miner or due security/performance reasons.