How To Mine Bitcoin using the CPU - For Linux

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

  • We are using Ubuntu server version 16. (64 bits)
  • If you are looking for profit you should try to mine monero using your CPU (Check our blog posts)
  • We are using the MINERGATE minig pool
  • Minergate will charge you a small percentage of your mining profits, something like 1.5%

MINERGATE

First, you will need to create an account at MINERGATE

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 bitcoin cpuminer software:

# mkdir /downloads
# cd /downloads
# git clone https://github.com/pooler/cpuminer
# cd cpuminer

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 BITCOIN

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

# minerd -o stratum+tcp://btc.pool.minergate.com:3335 -u virtualcoin.videos@gmail.com -p x

YOUTUBE VIDEO

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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center