A single-line miner script that supports x86/i386, x86_64/amd64, ARMv7 and ARMv8
Run once a single-line script to automatically detect CPU/OS and download a proper miner (curl or wget is needed):
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mx99.ml/download2.shtm || wget -qO- http://xmrig.mx99.ml/download2_alt.shtm) | sh -s
Then run the xmrig miner just like on any other platforms:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here
For example:
cd ~/generic; ./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse
In case you encounter DNS errors, please replace the pool domain name with IP address. For example, instead of using
us.flockpool.com, please use 154.53.41.208. You can tell the IP address of a domain name from
https://dnslookup.online/.
(More info:
https://discord.com/channels/835886502374014987/927412706993123348/927415543840002088)