Last active
January 4, 2018 06:05
-
-
Save kochie/e591b1503e75efd8ba775dd8b49bc2bb 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
#!/bin/bash | |
unamestr=`uname` | |
if [[ "$unamestr" == 'Darwin' ]]; then | |
brew install vim git make libcurl4-openssl-dev autotools-dev automake gcc tmux | |
else | |
sudo apt-get -y install vim git make libcurl4-openssl-dev autotools-dev automake gcc tmux | |
fi | |
[ ! -d "cpuminer-multi" ] && git clone https://github.com/wolf9466/cpuminer-multi | |
cd cpuminer-multi | |
./autogen.sh | |
CFLAGS="-march=native" ./configure | |
make && sudo make install |
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 | |
minerd -a cryptonight \ | |
-o stratum+tcp://mine.moneropool.com:3333 \ | |
-p x \ | |
-u 47tEKt6hKu6DuBHWBQajxmdpAb77JQpDzAD2nBg4WC2V7EvwVyTscGBeScAoSf1N5t7tciJ8vcpVmWoipM8S26sHRHgNKaz \ | |
-t 4 |
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 | |
curl https://gist.github.com/kochie/e591b1503e75efd8ba775dd8b49bc2bb/raw/install-monero-miner.sh | sh | |
curl -O https://gist.github.com/kochie/e591b1503e75efd8ba775dd8b49bc2bb/raw/mine.sh && chmod +x ./mine.sh | |
./mine.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment