-
-
Save Kmaschta/8de62ea5f73346a8f0c61b75fe36c93b to your computer and use it in GitHub Desktop.
AWS GPU / P2, Ubuntu 16.04, Nvidia driver 375 & CUDA 8.0, decred/gominer
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
#!/bin/bash | |
# Requirements | |
# - NVIDIA Driver - NVIDIA-Linux-x86_64-375.39.run - http://www.nvidia.fr/Download/index.aspx | |
# - CUDA runfile (local) - cuda_8.0.61_375.26_linux.run - https://developer.nvidia.com/cuda-downloads | |
sudo apt update -y && sudo apt upgrade -y | |
sudo apt install build-essential linux-image-extra-`uname -r` -y | |
chmod +x NVIDIA-Linux-x86_64-375.39.run | |
sudo ./NVIDIA-Linux-x86_64-375.39.run | |
chmod +x cuda_8.0.61_375.26_linux.run | |
./cuda_8.0.61_375.26_linux.run --extract=`pwd`/extracts | |
sudo ./extracts/cuda-linux64-rel-8.0.61-21551265.run | |
echo -e "export CUDA_HOME=/usr/local/cuda\nexport PATH=\$PATH:\$CUDA_HOME/bin\nexport LD_LIBRARY_PATH=\$LD_LINKER_PATH:\$CUDA_HOME/lib64" >> ~/.bashrc | |
source .bashrc | |
wget https://github.com/decred/decred-binaries/releases/download/v0.8.0/gominer-linux-amd64-cuda-v0.8.0.tar.gz | |
tar -xvzf gominer-linux-amd64-cuda-v0.8.0.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment