Install XMRIG Cryptonight CPU Mining on Centos

in xmrig •  7 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!