Skip to content

Instantly share code, notes, and snippets.

@return1
Last active March 18, 2024 23:23
Show Gist options
  • Star 62 You must be signed in to star a gist
  • Fork 26 You must be signed in to fork a gist
  • Save return1/5309843 to your computer and use it in GitHub Desktop.
Save return1/5309843 to your computer and use it in GitHub Desktop.
install a bitcoin cpuminer on ubuntu/debian
# install dependencies
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
# clone cpuminer
git clone https://github.com/pooler/cpuminer.git
# compile
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
# choose a miner pool and register there
# start the miner
./minerd --url=your.minerpool.org --user=username --pass=password
@dandawson87
Copy link

sudo apt-get install make #necessary for some ubuntu builds

@emtiu
Copy link

emtiu commented Feb 11, 2014

you kinda also need git ;) might as well put it in the install line

@danielcosta
Copy link

You can avoid installing git by downloading the .tar.gz version with wget and running tar xzvf on it.

@edpichler
Copy link

Stuck on the make command.
no targets specified.

@ciindyprem
Copy link

its all clear now..........start over

@peterhokage
Copy link

please help i need it on kali linux 2017

@xxxxxaaaaaaaannnn
Copy link

xxxxxaaaaaaaannnn commented Dec 7, 2017

To be complete :
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm make git gcc

But that's kinda the basics :p

@submgr
Copy link

submgr commented Dec 20, 2017

"code": -32601,
"message": "Procedure not found."

Help!!

@floke99
Copy link

floke99 commented Dec 28, 2017

how can I stop mining ?

@Zwirzu
Copy link

Zwirzu commented Jan 1, 2018

ctr+c

@henri2000
Copy link

Username for 'https://github.com': o meu da isso e pede senha??

@ioricloud
Copy link

wow,

thanks man. running correct here.

@SoroushKashipazha
Copy link

for debian installation
check out here
there are some perl config for ./autogen.sh

@asif2508
Copy link

in which website i have to open account?

@caesar5454
Copy link

When starting the miner, if I don't specify the user and password and just set the url , it keeps working!
What will happen if I run the miner without specifying the user and password?

@sumarnodeflo
Copy link

[2021-02-04 16:30:09] 2 miner threads started, using 'scrypt' algorithm.
[2021-02-04 16:30:09] Binding thread 0 to cpu 0
[2021-02-04 16:30:09] Binding thread 1 to cpu 1
[2021-02-04 16:30:09] HTTP request failed: Empty reply from server
[2021-02-04 16:30:09] json_rpc_call failed, retry after 30 seconds

@ericnyamubbp
Copy link

where were you in 2010 ???? lol

@nuclear-bean
Copy link

thanks for the gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment