How to mine monero using linux CPU

Words
234
Reading
2 min
Listen
Play
10y

This tutorial describes a detailed procedure showing how to mine monero using the CPU of a computer running Ubuntu Linux .

In our youtube channel you can view the video of this tutorial.

Minergate Account

First, you need to create an account at Minergate

Open your browser, access the Minergate website and create a new account.

On the linux console, use the following command to update the apt-get database.
apt-get update

Required Packages

Install the required packages using the following commands:

apt-get install libcurl4-openssl-dev git
apt-get install build-essential
apt-get install autotools-dev autoconf
apt-get install libcurl3 libcurl4-gnutls-dev

Installing the miner

Now, let’s clone the CPU miner program called cpuminer-multi:

mkdir /download
cd /downloads
git clone https://github.com/wolf9466/cpuminer-multi

Compile and install the cpuminer-multi:

cd cpuminer-multi
./autogen.sh
CFLAGS="-march=native" ./configure
make
make install

Mining Monero

Use the following command to start mining Monero:

minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x

REMEMBER to replace the e-mail [email protected] for the e-mail account you used to create the minergate account.

As we show in the video, open your browser, access the Minergate Dashboard and check if the linux computer is connected to the monero pool.

As we show in the video, you can use the Minergate calculator to check how much monero will your computer make

Conclusion

This tutorial shows a quick way to start mining monero using the CPU of a computer runnning ubnutu linux.

How to mine monero using linux CPU | Ecency