CentOS 7.x XMRig 설치 및 AEON 채굴


XMRig 는 모네로 채굴 프로그램이지만 cryptonight-lite 알고리즘이 있어서 Aeon coin 도 채굴이 가능합니다.


▶ XMRig 설치 방법

yum install epel-release

yum install git make cmake gcc gcc-c++ libstdc++-static libmicrohttpd-devel libuv-static

git clone https://github.com/xmrig/xmrig.git

cd xmrig

cmake . -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib64/libuv.a

make


▶ XMRig 실행

./xmrig -a cryptonight-lite -o aeon.pool.minergate.com:45690 -u 유저계정 -p x --donate-level=1 -t 2


위와 같이 옵션을 넣고 실행할 수도 있으나 아래의 내용을 config.json 파일로 저장해서 실행하여도 됩니다.


▶ config.json

{

    "algo": "cryptonight-lite",  // cryptonight (default) or cryptonight-lite

    "av": 0,                // algorithm variation, 0 auto select

    "background": false,    // true to run the miner in the background

    "colors": true,         // false to disable colored output    

    "cpu-affinity": null,   // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1

    "cpu-priority": null,   // set process priority (0 idle, 2 normal to 5 highest)

    "donate-level": 1,      // donate level, mininum 1%

    "log-file": null,       // log all output to a file, example: "c:/some/path/xmrig.log"

    "max-cpu-usage": 75,    // maximum CPU usage for automatic mode, usually limiting factor is CPU cache not this option.  

    "print-time": 60,       // print hashrate report every N seconds

    "retries": 5,           // number of times to retry before switch to backup server

    "retry-pause": 5,       // time to pause between retries

    "safe": false,          // true to safe adjust threads and av settings for current CPU

    "threads": 2,           // number of miner threads

    "pools": [

        {

            "url": "aeon.pool.minergate.com:45690",   // URL of mining server

            "user": "",                        // username for mining server

            "pass": "x",                       // password for mining server

            "keepalive": true,                 // send keepalived for prevent timeout (need pool support)

            "nicehash": false                  // enable nicehash/xmrig-proxy support

        }

    ],

    "api": {

        "port": 8888,                          // port for the miner API https://github.com/xmrig/xmrig/wiki/API

        "access-token": null,                  // access token for API

        "worker-id": null                      // custom worker-id for API

    }

}

user 에 마이너게이트 계정이나 url 이 다른 풀이라면 지갑주소를 넣으면 됩니다.


블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,