Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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