-
-
Save bharley/8702193 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
# install dependencies | |
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm make git | |
# clone cpuminer | |
git clone https://github.com/pooler/cpuminer.git | |
# compile | |
cd cpuminer | |
./autogen.sh | |
./configure CFLAGS="-O3" | |
make | |
# start a basic script | |
cd .. | |
cat > start.sh << EOF | |
./cpuminer/minerd -o stratum+tcp://stablehash.com:3333 -O | |
EOF | |
chmod +x start.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment