Skip to content

Instantly share code, notes, and snippets.

@ixaxaar
Created January 12, 2018 07:12
Show Gist options
  • Save ixaxaar/1d75965ec1b9a8c38a8b6f24132fadef to your computer and use it in GitHub Desktop.
Save ixaxaar/1d75965ec1b9a8c38a8b6f24132fadef to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo su -
cd
apt update
apt install -y build-essential libssl-dev libcurl4-openssl-dev automake autoconf git pkg-config libtool libjansson-dev
git clone https://github.com/unitusdev/unitus-cpuminer.git
cd unitus-cpuminer
./autogen.sh
CFLAGS="-O3 -faggressive-loop-optimizations -falign-loops -mtune=native -march=native"
./configure
make
make install
unitus_cpuminer -a argon2d -o stratum+tcp://argon.mine.unitus.online:3003 -u Ugzo1cdGshxAEi12CihV2T1SrWoLMdLmJK -p lolmax --background 2>./log.txt &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment