Skip to content

Instantly share code, notes, and snippets.

@gabu
Forked from paulsheldrake/cpuminer_setup.sh
Last active December 6, 2017 16:29
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 gabu/c6053ab840c4712c1cdb010230aea96e to your computer and use it in GitHub Desktop.
Save gabu/c6053ab840c4712c1cdb010230aea96e to your computer and use it in GitHub Desktop.
Install cpuminer on an AWS instance
sudo yum -y update
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel libcurl jansson-devel jansson
# install cpuminer
git clone --recursive https://github.com/pooler/cpuminer.git
cd cpuminer
git checkout v2.3.3
./autogen.sh
./configure CFLAGS="-O3"
sudo make
cd ~/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment