Created
August 14, 2014 15:28
-
-
Save ansonl/a01911113d264976fb49 to your computer and use it in GitHub Desktop.
Setup and run CUDAminer/CPUminer on Ubuntu 12.04
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
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install build-essential libcurl4-openssl-dev git automake htop | |
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 | |
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 https://github.com/cbuchner1/CudaMiner | |
cd CudaMiner | |
./autogen.sh | |
./configure.sh | |
make | |
cd .. | |
cd ~ | |
git clone https://github.com/pooler/cpuminer.git | |
cd cpuminer | |
./autogen.sh | |
./configure CFLAGS="-O3" | |
make | |
cd .. | |
./CudaMiner/cudaminer --url=stratum+tcp://us.clevermining.com:3333 --userpass=1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6:anything -H 1 -C 1 & | |
./cpuminer/minerd --url=stratum+tcp://us.clevermining.com:3333 -u 1HPCgrf2Sk8RaJSKFjtr7A8SNYbnqCDAp6 -p anything & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment