Skip to content

Instantly share code, notes, and snippets.

Created August 14, 2014 15:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Setup and run CUDAminer/CPUminer on Ubuntu 12.04
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git automake htop
sudo sh
export PATH=/usr/local/cuda-5.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH
echo export PATH=/usr/local/cuda-5.5/bin:$PATH >> ~/.bashrc
echo export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH >> ~/.bashrc
source ~/.bashrc
git clone
cd CudaMiner
cd ..
cd ~
git clone
cd cpuminer
./configure CFLAGS="-O3"
cd ..
./CudaMiner/cudaminer --url=stratum+tcp:// --userpass=1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6:anything -H 1 -C 1 &
./cpuminer/minerd --url=stratum+tcp:// -u 1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6 -p anything &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment