Skip to content

Instantly share code, notes, and snippets.

@paulsheldrake
Last active January 21, 2018 15:17
  • Star 6 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save paulsheldrake/9296826 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 C json library
wget ftp://fr2.rpmfind.net/linux/epel/testing/6/x86_64/jansson-2.6-1.el6.x86_64.rpm
wget ftp://fr2.rpmfind.net/linux/epel/testing/6/x86_64/jansson-devel-2.6-1.el6.x86_64.rpm
sudo yum -y install jansson-2.6-1.el6.x86_64.rpm
sudo yum -y install jansson-devel-2.6-1.el6.x86_64.rpm
# 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