Install XMRIG Cryptonight CPU Mining on Centos

in #xmrig6 years ago (edited)

Install:

cd && sudo yum install -y epel-release && sudo yum install -y git make cmake gcc gcc-c++ libstdc++-static libmicrohttpd-devel libuv-static nano tmux && git clone https://github.com/xmrig/xmrig.git && cd xmrig && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib64/libuv.a && make && nano config.json

Input Configuration:

{
"algo": "cryptonight",
"av": 0,
"background": false,
"colors": true,
"cpu-affinity": null,
"cpu-priority": 5,
"donate-level": 1,
"log-file": null,
"max-cpu-usage": 100,
"print-time": 5,
"retries": 5,
"retry-pause": 5,
"safe": true,
"threads": null,
"pools":
[
{
"url": "POOL:PORT",
"user": "YOURWALLET",
"pool_password" : "YOURWORKER:YOUREMAIL",
"keepalive": true,
"nicehash": false
}
],
"api":
{
"port": 0,
"access-token": null,
"worker-id": null
}
}

Press ctrl+x
Press y
Press enter

Running bash:
tmux
./xmrig

Coin Marketplace

STEEM 0.29
TRX 0.13
JST 0.033
BTC 62981.24
ETH 3034.31
USDT 1.00
SBD 3.75