Skip to content

Instantly share code, notes, and snippets.

@ansonl
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ansonl/472c619ade1328fa66a2 to your computer and use it in GitHub Desktop.
Save ansonl/472c619ade1328fa66a2 to your computer and use it in GitHub Desktop.
Poclbm OpenCL miner on AMI-87377ee
#use ami-87377cee
#!/bin/bash
sudo apt-get update
sudo apt-get install install build-essential libcurl4-openssl-dev git automake htop
git clone https://github.com/m0mchil/poclbm.git
python ./poclbm.py -v -f 0 stratum://ansonl.worker1:B6zFcgNR@stratum.bitcoin.cz:3333
cd ~
git clone https://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
cd ..
./minerd --algo=sha256d --url=stratum+tcp://stratum.bitcoin.cz:3333 -u ansonl.2 -p anything
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment