Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cryptozeny/bd9b2d5ad810fb3aeed7d5d3e8ce0bc6 to your computer and use it in GitHub Desktop.
Save cryptozeny/bd9b2d5ad810fb3aeed7d5d3e8ce0bc6 to your computer and use it in GitHub Desktop.
cuballoon + nvidia-396+cuda-9.2+gpumining
# nvidia-396 \
sudo add-apt-repository ppa:graphics-drivers/ppa && \
sudo apt-get update && \
sudo apt-get install nvidia-396 && \
\
# cuda-9.2 \
cd && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_9.2.88_396.26_linux && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/patches/1/cuda_9.2.88.1_linux && \
chmod +x cuda_9.2.88_396.26_linux && \
chmod +x cuda_9.2.88.1_linux && \
./cuda_9.2.88_396.26_linux --extract=$HOME && \
sudo ./cuda-linux.9.2.88-23920284.run
\
# Configure Runtime Library \
sudo bash -c "echo /usr/local/cuda/lib64/ > /etc/ld.so.conf.d/cuda.conf" && \
sudo ldconfig && \
sudo bash -c "echo /usr/local/cuda/bin > /etc/environments" && \
sudo ldconfig && \
\
# cuballoon install \
sudo apt-get install \
build-essential autoconf automake libssl-dev libcurl4-openssl-dev libjansson-dev zlib1g-dev screen git && \
cd && \
git clone https://github.com/belgarion/cuballoon && \
cd cuballoon && \
./build.sh && \
\
# mining
./cuballoon -o stratum+tcp://deft-us.leafpool.com:6622 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ --cuda_devices 0 --cuda_threads 384 --cuda_blocks 96 --cuda_sync 0 -t 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment