門羅幣跟其他數位貨幣不同的是
這是一個很適合純粹用 CPU 挖礦的幣
收益計算器:
https://www.cryptocompare.com/mining/calculator/xmr
CentOS 6:
yum -y install epel-release
yum -y update
yum -y groupinstall “Development Tools”
yum -y install centos-release-scl git cmake make cmake3 gcc gcc-c++ libstdc++ libmicrohttpd-devel libuv-static
yum -y install devtoolset-7-gcc*
scl enable devtoolset-7 bashyum -y install devtoolset-7
wget -c https://github.com/libuv/libuv/archive/v1.16.1.tar.gz
tar zxvf v1.16.1.tar.gz
cd libuv-1.16.1/
./autogen.sh
./configure
make
make check
make installgit clone https://github.com/xmrig/xmrig.git
cd xmrig
sed -i -e ‘s/constexpr const int kDonateLevel = 5;/constexpr const int kDonateLevel = 0;/i’ src/donate.h
mkdir build
cd build
cmake3 .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/local/lib/libuv.a
make
CentOS 7:
yum -y install epel-release
yum -y install git make cmake gcc gcc-c++ libstdc++-static libmicrohttpd-devel libuv-static cmake3 centos-release-sclyum -y install devtoolset-7-gcc*
scl enable devtoolset-7 bashgit clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake3 .. -DCMAKE_BUILD_TYPE=Release -DUV_LIBRARY=/usr/lib64/libuv.a
make
靜態編譯
Ubuntu 16+:
apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev
wget -c https://github.com/libuv/libuv/archive/v1.16.1.tar.gz
tar zxvf v1.16.1.tar.gz
cd libuv-1.16.1/
./autogen.sh
./configure –enable-static –disable-shared
make
make check
make install
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake ..
make
使用命令:
./xmrig -o 礦池 IP: 連接埠 -u 你的門羅幣錢包地址 -p x -k –max-cpu-usage=90
歡迎使用門羅幣贊助本站:
45J49Bk1dZU3pzkRNukPai8Lfz1q1wqkNKF13fb2J85K3HXGMLmryhjbgWYZEWG4kXcuP5eVB1NaW2eZMJsRM8NwUt9mQVS