Skip to content

Instantly share code, notes, and snippets.

@paulsheldrake
Last active December 13, 2015 02:08
Show Gist options
  • Save paulsheldrake/9137280 to your computer and use it in GitHub Desktop.
Save paulsheldrake/9137280 to your computer and use it in GitHub Desktop.
install CudaMiner on aws GPU instance to my altcoins
# 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