-
-
Save figassis/a6b755928958a28cfed7 to your computer and use it in GitHub Desktop.
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 | |
# install some depenencies for cuda | |
sudo yum -y install mesa-libGLU-devel-9.0-0.9.19.amzn1.x86_64 libXi-devel-1.6.1-3.7.amzn1.x86_64 libXmu-devel-1.1.1-2.8.amzn1.x86_64 libX11-devel-1.5.0-4.10.amzn1.x86_64 mesa-libGLU-devel-9.0-0.9.19.amzn1.x86_64 | |
# jansson library | |
wget ftp://fr2.rpmfind.net/linux/epel/testing/6/x86_64/jansson-2.6-1.el6.x86_64.rpm | |
sudo yum -y install jansson-2.6-1.el6.x86_64.rpm | |
cd ~/ | |
# install cuda driver | |
# DO NOT INSTALL THE DRIVER BECAUSE A NEWER VERSION IS ALREADY INSTALLED | |
# Just the toolkit | |
wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run | |
sudo sh cuda_5.5.22_linux_64.run | |
cd ~/ | |
# install cudaminer | |
git clone -- https://github.com/cbuchner1/CudaMiner.git | |
cd CudaMiner | |
git checkout 2014-02-18 | |
chmod +x configure autogen.sh | |
./autogen.sh | |
./configure | |
make | |
# reboot the box | |
sudo reboot | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment