Difference between revisions of "Bitcoin Miner: cpuminer"

From OnnoWiki
Jump to navigation Jump to search
Line 18: Line 18:
 
   
 
   
 
  # start the miner
 
  # start the miner
 +
cd /usr/local/src/cpuminer/
 
  ./minerd --url=your.minerpool.org --user=username --pass=password
 
  ./minerd --url=your.minerpool.org --user=username --pass=password
 
  ./minerd --url=stratum.slushpool.com:3333 --user=username --pass=password
 
  ./minerd --url=stratum.slushpool.com:3333 --user=username --pass=password
 
  ./minerd -o stratum+tcp://stratum.slushpool.com:3333 -O username.work:password -t 3
 
  ./minerd -o stratum+tcp://stratum.slushpool.com:3333 -O username.work:password -t 3

Revision as of 12:15, 6 September 2017

sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm


# clone cpuminer
cd /usr/local/src
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
cd /usr/local/src/cpuminer/
./minerd --url=your.minerpool.org --user=username --pass=password
./minerd --url=stratum.slushpool.com:3333 --user=username --pass=password
./minerd -o stratum+tcp://stratum.slushpool.com:3333 -O username.work:password -t 3