Skip to content

Instantly share code, notes, and snippets.

@rohitfarmer
Forked from NamPNQ/bitcoin-cpuminer.sh
Created August 2, 2017 06:27
Show Gist options
  • Save rohitfarmer/d00c1ca9901328ec505c87abb2d21cea to your computer and use it in GitHub Desktop.
Save rohitfarmer/d00c1ca9901328ec505c87abb2d21cea 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