Home › Bitcoin Mining With

Bitcoin mining Debian CPU

Headless Debian Bitcoin CPU mining  April 9, 2013 – 00:00

So I have decided to give this bitcoin mining an attempt. I am a server admin and I have access to many servers (that I am paying for) that often have CPU`s just sitting around doing nothing. So I decided to take that spare CPU time and turn it into bitcoins.I should point out that CPU mining is pretty pathetic when compared to GPU mining, but sometimes when spare CPU`s are all you have... you may as well use them.

Most of the servers I have are either Ubuntu or Debian so you should be able to use this guide for either of those two operating systems.

The idea of this post is to setup a headless bitcoin cpu miner on bored, underutilized servers.

First things first, lets install all the requirements (Ubuntu users, do not forget the sudo command):

apt-get install libcurl4-openssl-dev automake git Once that is installed go to your favorite place to do your installs from. In my case its /root and type the following to download cpuminer using Git:
git clone Once CPUminer is downloaded you can cd (move) into the directory it creates
cd /root/cpuminer Once in the directory you type the following command:
./autogen.sh And the you can configure and compile cpuminer with the following commands: ./configure
make
make install
Now you are pretty much done. All you need to is run it with the right credentials. To get your credentials go sign up at a pooled mining site like this one:
You will be given a worker username and password during the sign up process (this is different from your site login information you supply when you register).

To run CPUminer with your credentials, the command will look something like this:

minerd --url --userpass coolname.worker1:pass34534
I have highlighted in a different color the username and password you need to change. You will need to change these to the details given to you by Bitcoin.cz

If everything went successfully you should see something like this:

[2013-04-09 10:07:43] Binding thread 0 to cpu 0
[2013-04-09 10:07:43] Long-polling activated for
[2013-04-09 10:07:44] Binding thread 1 to cpu 1
[2013-04-09 10:07:45] Binding thread 2 to cpu 2
[2013-04-09 10:07:46] Binding thread 3 to cpu 3
[2013-04-09 10:07:47] 4 miner threads started, using SHA256 'c' algorithm.
[2013-04-09 10:08:01]

Source: www.karmicsangoma.co.za

Related posts:

  1. Bitcoin mining define
  2. Bitcoin mining two GPUs
  3. Bitcoin mining the beast
  4. Bitcoin mining France
  5. Bitcoin mining Debian Linux