Mining cryptocurrency using the CPU with Ubuntu

Use an old computer to data mining cryptocurrency, even without a power GPU

The world of cryptocurrency is making me very curious, to the point of looking for the way to generate new money without spending capital important for machines of the latest generation.

Who generates cryptocurrency knows that it is important to have machines of the latest generation, more powerful, and that account must also be taken of the cost of electricity required to operate the machines themselves.

My test makes it possible to mining cryptocurrency using machines that are not modern (even notebook old more than 5 years) with only the computing power of the CPU. We will do all that using a linux distribution ubuntu-based. I tried the miner on a netbook with Peppermint with a 1.7 GHz processor.

To date this procedure is called “test” because in a month of mining I was able to generate a little cryptocurrency, due to the very low power of the computer used.

Install cpuminer

Having already a machine with on installed a distribution based on Ubuntu, open the terminal and follow the following steps

sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm make git gcc/ git clone https://github.com/pooler/cpuminer.git/ cd cpuminer/ ./autogen.sh/ ./configure CFLAGS="-O3"/ make

Start mining

To start mining, just run this command

./minerd --url=[url del pool] --user=[username] --pass=[password]

That should contain the url of the pool, the username and the password of the identification of the service that we use for the mining. You have to leave the terminal.

Stop the mining

To stop mining simply use in the terminal the key combination Ctrl+c

We will not go into the merits of the service you use, this can only be a guide for those who already know the various pools. I’m already testing various services, but we’ll see what happens in the next few articles.

We periodically check the functioning of the links in our articles. If you notice any links that do not work, please let us know in the comments. If you enjoyed the article consider supporting the blog with a small donation. Thank you. Patreon / Ko-fi / Liberapay / Paypal

Leave a Reply

Your email address will not be published. Required fields are marked *