Last active
January 21, 2018 15:17
-
-
Save paulsheldrake/9296826 to your computer and use it in GitHub Desktop.
Install cpuminer on an AWS instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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