Skip to content

Instantly share code, notes, and snippets.

@return1
Last active May 21, 2025 01:44
Show Gist options
  • Save return1/5309843 to your computer and use it in GitHub Desktop.
Save return1/5309843 to your computer and use it in GitHub Desktop.

Revisions

  1. return1 revised this gist Apr 27, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bitcoin-cpuminer.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # install dependencies
    apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
    sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm

    # clone cpuminer
    git clone https://github.com/pooler/cpuminer.git
  2. return1 created this gist Apr 4, 2013.
    16 changes: 16 additions & 0 deletions bitcoin-cpuminer.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # install dependencies
    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