Social media

How to mine Ethereum on GPU for beginners - a step-by-step guide

Author: LB 2021-01-03 145

The price of both BTC and Ethereum are soaring, albeit with extreme volatility. This is no surprise, as they are cryptocurrencies and there is almost no regulation that could at least in some way bridle their uncontrolled behaviour. Therefore, whenever the demand grows for these assets, their price skyrockets and the same is true for the opposite direction. When prices are up, mining Ethereum can be very profitable and many, in possession of a GPU turn their PCs into mining machines. In the following guide, I am going to show you how to do that. Let's get started!

As I do not own a video card, I initialized a virtual machine in the cloud and I tried out cryptocurrency mining in this virtual environment. Everything went well, and eventually I was able to mine Ethereum with a stable hashrate. So first of all, I allocated 15 GB of memory and a NVIDIA Tesla P4 GPU.

How do you mine Ethereum in 2021?

Once the system was ready, I installed a Debian OS and I had to download CUDA from the official Nvidia site. This was fairly easy, I just had to execute the following commands:

$ wget

$ sudo sh

Once the CUDA package installs itself you have to link the executables to your path and you also have to tell the linker where the CUDA headers are located. I usually place this setting in my .bashrc file in the following way:

$ vim $HOME/.bashrc

And I just insert this code into the file:

if [ -d "/usr/local/cuda-11.2/bin/" ]; then
  export PATH=/usr/local/cuda-11.2/bin${PATH:+:${PATH}}
  export LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

In the next step, I am going to show you how to install the nanominer software. Let's download the precompiled binaries from Github.

$ wget

You have to untar the archive and create your own configuration file. This file will contain your Ethereum wallet's address and some pool server addresses:

wallet=[YOUR WALLET]
email=[YOUR EMAIL]
pool1 =
pool2 =
pool3 =
pool4 =
pool5 =

If you are done with this, you are ready to launch the miner in your command line:

$ ./nanominer

This is how the output of the miner looks. You can check my hashrate and the temperature of the GPU on the following image:

In a few minutes I was already able to check my Ethereum balance on nanopool:

Whether mining Ethereum is profitable or not you can check by visiting the following link:

The profitability of Ethereum mining depends on the price of electricity in your area. Contact your electric power provider and consult with them about their fees.

If you followed the above steps, everything must be given to you to launch your Ethereum mining rig. With this simple setup, I was able to start mining Ethereum and my hashrate stabilized in a few minutes. The above images shows you the profitability using this NVIDIA Tesla P4 GPU considering today's Ethereum market price and the electricity price in my area. This card, with 17 MH/s would mine me $28.81 of Ethereum every month. When the miner is ready, you hardly have to touch it, but make sure it does not get overheated. This sounds like a good source of passive income, as long as the market price of Ethereum stays pretty much the same.

Good luck in the Ethereum ecosystem!

Interesting entries


Some useful information for Ethereum miners


How to make cryptocurrency networks more secure?


Why is it so risky to invest my money into crypto?


How to mine Ethereum on GPU for beginners - a step-by-step guide


How to withdraw money from a Bitcoin ATM in Kraków, Poland


Testing a Bitcoin ATM in Kraków, Poland


Withdrawing cash from a Bitcoin ATM in Salzburg, Austria


Purchasing Bitcoin in Salzburg, Austria without registering your phone number


Chinese technology is taking over the telecommunication markets in Africa


Bitcoin ATM in Košice, Slovakia


Selling Bitcoin for cash in Bratislava


How to purchase Bitcoin in Bratislava without registering your phone number


The cost of withdrawing cash from a Bitcoin ATM in Budapest


How much does it cost to use a cryptocurrency ATM in Hungary?


Detailed comparison on Bitcoin ATMs across central Europe


Withdrawing cash in Prague from a Bitcoin ATM


Bitcoin ATM in Prague with no fixed transaction fee


How to withdraw cash from a Bitcoin ATM in Prague without revealing your personal information?


Buying Bitcoin in Prague


How to purchase Bitcoin in Prague without revealing your personal information?


How to buy cryptocurrency in Budapest


Purchase cryptos at the best market price!


The Japanese way of money from the Genji Era to the Mt. Gox scandal


How to withdraw cash using a Bitcoin ATM in Vienna?


Two-way Bitcoin ATM in Vienna, Austria


Two-way bitcoin ATM in Budapest


How to withdraw cash from a Bitcoin ATM in Budapest?


Cryptocurrency ATM in Budapest


Employee evaluation system based on blockchain technology from Japan


Kazakhstan to ban transfer between anonymous electronic wallets


Bitcoin mining is getting popular in Kazakhstan with Japanese investment


Deceptive marketing schemes on video sharing platforms in China


Revolutionary solutions in networking from Japan


User data leakage from Russian financial institutions


Where are the largest Bitcoin mines in the world?