network-config
sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake ..
make
create a config.json
{
"autosave": true,
"cpu": true,
"opencl": false,
"cuda": false,
"pools": [
{
"url": "pool.supportxmr.com:443",
"user": "MY_MONERO_WALLET_ID",
"pass": "RPi",
"keepalive": true,
"tls": true
}
]
}
./xmrig -c "config.json"