Skip to content

Instantly share code, notes, and snippets.

@kochie
Last active January 4, 2018 06:05
Show Gist options
  • Save kochie/e591b1503e75efd8ba775dd8b49bc2bb to your computer and use it in GitHub Desktop.
Save kochie/e591b1503e75efd8ba775dd8b49bc2bb to your computer and use it in GitHub Desktop.
#!/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
#!/bin/bash
minerd -a cryptonight \
-o stratum+tcp://mine.moneropool.com:3333 \
-p x \
-u 47tEKt6hKu6DuBHWBQajxmdpAb77JQpDzAD2nBg4WC2V7EvwVyTscGBeScAoSf1N5t7tciJ8vcpVmWoipM8S26sHRHgNKaz \
-t 4
#!/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