Last active
December 13, 2015 02:08
-
-
Save paulsheldrake/9137280 to your computer and use it in GitHub Desktop.
install CudaMiner on aws GPU instance to my altcoins
This file contains 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
# update linux and install dev tools | |
sudo yum -y update | |
sudo yum -y groupinstall "Development Tools" | |
sudo yum -y install git libcurl libcurl-devel openssl-devel openssl | |
# jansson library, installing from epel release library | |
cd ~/ | |
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/jansson-2.6-1.el6.x86_64.rpm | |
sudo yum -y install jansson-2.6-1.el6.x86_64.rpm | |
# install cuda toolkit | |
cd ~/ | |
wget http://developer.download.nvidia.com/compute/cuda/repos/rhel6/x86_64/cuda-repo-rhel6-6.5-14.x86_64.rpm | |
sudo yum install -y cuda-repo-rhel6-6.5-14.x86_64.rpm | |
sudo yum install -y cuda-toolkit-6-5 | |
# update paths to cuda | |
export PATH=/usr/local/cuda-6.5/bin:$PATH | |
export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib64:$LD_LIBRARY_PATH | |
# install cudaminer | |
cd ~/ | |
git clone -- https://github.com/paulsheldrake/CudaMiner.git | |
cd CudaMiner | |
git checkout 2014-02-18 | |
chmod +x configure autogen.sh | |
./autogen.sh | |
./configure | |
make | |
echo "All done, Don't forget to actually start your miner" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment