Skip to content

Instantly share code, notes, and snippets.

@NamPNQ
Forked from return1/bitcoin-cpuminer.sh
Last active August 22, 2018 03:11
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save NamPNQ/582a61fb9a9b127ae075 to your computer and use it in GitHub Desktop.
Save NamPNQ/582a61fb9a9b127ae075 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 git gcc -y
# 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 in background
nohup ./minerd -o stratum+tcp://stratum.f2pool.com:8888 --user=nampnq.vultr > min.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment