How To Mine Monero using the CPU - For Linux

in #monero8 years ago

In this post I will show you how to mine monero using the CPU of your linux computer using a software called cpuminer.

  • We are using Ubuntu server version 16. (64 bits)
  • We are using the MINERGATE minig pool
  • Minergate will charge you a small percentage of your mining profits, something like 1.5%

MINERGATE

Access the MINERGATE website and create an account.

CPUMINER INSTALLATION

Use the following commands to install the required softwares on your linux computer.

# apt-get update
# 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

Create a directory and download the monero cpuminer software:

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

Use the following commands to compile and install the cpuminer software on your linux computer:

# ./autogen.sh
# CFLAGS="-march=native" ./configure
# make
# make install

MINING MONERO

In order to start mining monero, use the following command:

#  minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u virtualcoin.videos@gmail.com -p x
  • You need to change the username virtualcoin.videos@gmail.com from the command above to the username that you created on the minergate website.

YOUTUBE VIDEO

In our YOUTUBE channel, we offer a video showing you the step by step procedure.

Sort:  

Thank you for sharing this. Merci beaucoup.

Ur welcome pal.
Have a nice day!

can u please tell the command for other mining pool for monero on aws..?

Hy miland, you should select the pool first, then create a user and there you will find the specific parameters needed for that particular pool, hope it helps.

hi first than anything I want to thank You for the tutorial. I've this question: I want to convert this script into an silent or hide one, and add it at the starting of ubuntu. can You to explain to me how to do that?