Skip to content

Instantly share code, notes, and snippets.

@trillerpfeife
Created December 2, 2016 11:12
Show Gist options
  • Save trillerpfeife/48ac658c0dc0e19d7ba316d6947474de to your computer and use it in GitHub Desktop.
Save trillerpfeife/48ac658c0dc0e19d7ba316d6947474de to your computer and use it in GitHub Desktop.
cpuminer-multi installer script with language reconfiguration
#!/bin/bash
echo install cpuminer-multi
locale-gen en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
sudo apt-get install automake pkg-config libtool libcurl4-gnutls-dev git
git clone https://github.com/wolf9466/cpuminer-multi.git
cd cpuminer-multi/
./autogen.sh
CFLAGS="-march=native" ./configure
make
echo miner installed
echo how to start the miner:
echo ./minerd -a cryptonight -o stratum+tcp://monerohash.com:3333 -u yourkey -p x -S &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment