Skip to content

Instantly share code, notes, and snippets.

@justin-vanwinkle
Last active February 27, 2021 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justin-vanwinkle/9a57052b46f5b1060ee3ee71940b799d to your computer and use it in GitHub Desktop.
Save justin-vanwinkle/9a57052b46f5b1060ee3ee71940b799d to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "vm.nr_hugepages=128" > /etc/sysctl.d/60-hugepages.conf
echo "* - memlock 262144" > /etc/security/limits.d/60-memlock.conf
echo "root - memlock 262144" >> /etc/security/limits.d/60-memlock.conf
# this requires a reboot
./xmr-stak-rx --url stratum+tcp://randomxmonero.usa-east.nicehash.com:3380 --user 3N7woHKQqpWA8HdgSFBugiDkzkDT6KBaCV.cpu01 --pass "" --use-nicehash --currency monero --noDevSupport
wget https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
sh cuda_10.2.89_440.33.01_linux.run
./xmrig --no-cpu --cuda -o stratum+tcp://kawpow.usa.nicehash.com:3385 -u 3N7woHKQqpWA8HdgSFBugiDkzkDT6KBaCV -k --nicehash --algo kawpow --rig-id=gpu01
wget https://git.mmpos.eu/cpu-linux/xmrig/-/blob/a0fd63e10166ba48111a1bb5f9564b3528c37b11/libxmrig-cuda.so
./PhoenixMiner -pool stratum+tcp://daggerhashimoto.usa.nicehash.com:3353 -wal 3N7woHKQqpWA8HdgSFBugiDkzkDT6KBaCV -proto 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment