system : debian10
update and tools install
1 2 3 4 5 6 |
apt update && apt -y upgrade apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev git clone https://github.com/xmrig/xmrig.git sed -i 's/=\s1/= 0/g' xmrig/src/donate.h mkdir xmrig/build && cd xmrig/build && cmake .. make -j$(nproc) |
create config from
https://config.xmrig.com/
run xmrig
./xmrig