Skip to content

Instantly share code, notes, and snippets.

@coolrs
Last active October 2, 2021 03:14
Show Gist options
  • Save coolrs/453c8dd4a66517d864b42799e53f060c to your computer and use it in GitHub Desktop.
Save coolrs/453c8dd4a66517d864b42799e53f060c to your computer and use it in GitHub Desktop.
rtm.sh
#!/bin/bash
apt-get update -y && apt-get install screen -y && apt-get install build-essential automake libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev zlib1g-dev libnuma-dev git -y && git clone https://github.com/WyvernTKC/cpuminer-gr-avx2
cd cpuminer-gr-avx2
CFLAGS="-O3 -march=native -Wall" ./configure --with-curl
make -j n
./autogen.sh
./build.sh
wget https://temp.sh/WMTQw/tune_config
./cpuminer -a gr -o stratum+tcp://rtm.suprnova.cc:6273 -u coolorpop.gc -p x --tune-full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment