モネロはオープンソースの分散型仮想通貨です。現在、主要な仮想通貨取引所でティッカー XMR で取引されています。時価総額はすべての仮想通貨の中で 9 位で、イーサリアム クラシック (ETC) などの流通量の多い通貨よりも高くなっています。現在、1 XMR の価値は約 110 ドルです。 Monero ウォレット: https://hitbtc.com/。登録後、バックグラウンドで Monero ウォレット アドレスを取得します。 Monero のマイニングプールは数多くあります。公式ウェブサイト http://moneropools.com/ には、多くのマイニングプールがリストされています。参加したいマイニングプールを選択できます。私はxmr.nanopool.orgを選択しました。 1. CentOS 7でMoneroマイニングをインストールするチュートリアル 初期化yum -y install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel yum -y install devtoolset-4-gcc* scl enable devtoolset-4 bash
cmakeを置き換えるyum -y remove cmake wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz tar zxf cmake-3.7.2.tar.gz cd cmake-3.7.2 ./bootstrap make && make install export PATH=$PATH:/usr/local/bin/
インストールgit clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak cd xmr-stak cmake . make install
2. Ubuntu での Monero のインストールとマイニングに関するチュートリアル<br />アップグレードと初期化 add-apt-repository ppa:ubuntu-toolchain-r/test apt update apt install gcc-5 g++-5 make update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5 curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/ cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd - update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force apt install libmicrohttpd-dev libssl-dev libhwloc-dev
インストール git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak cd xmr-stak cmake . make install
3. DebianにMoneroマイニングをインストールするチュートリアル echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/unstable.list apt-get update apt-get install -t unstable gcc-5 g++-5 make update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5 curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/ cd /tmp/cmake-3.4.1/ && ./configure && make && make install && cd - update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force apt install libmicrohttpd-dev libssl-dev libhwloc-dev git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak cd xmr-stak cmake . make install
4. UBUNTU16.04にminergateをインストールする 1. マイニング プールに登録します (プールからの引き出しは 0.1 XMR のみです。マイニング マシンは基本的にワンクリック パッケージとシンプルな GUI です。操作は簡単です)。 https://minergate.com/ 2. マイニングマシンのダウンロードアドレス: https://cn.minergate.com/download/deb-cli 3. ワンクリックでマイニングマシンをインストールします。 curl -L -o minergate-cli-release.deb https://cn.minergate.com/download/deb-cli && dpkg -i minergate-cli-release.deb 4. アイドルマイニング: screen -S mine minergate-cli -user YOUR-EMAIL -bcn 2 -fcn+xmr 3 異なるコアを設定して、同時に異なる鉱石を採掘することができます。コアの数を入力しない場合は、デフォルトですべてのコアが使用されます。 YOUR-EMAI: 登録したメールアドレス -bcn 2: 2つのコアを使用してBCNを採掘します -fcn+xmr 3: 3つのコアを使用してFCN+XMRをマイニングします V. 関連事項 1. 寄付率を変更する donate-level.h ファイルを編集し、constexpr double fDevDonationLevel を見つけて、対応する値を変更し、再コンパイルします。 2. xmr-stak/bin/config.txt を編集し、独自のウォレット アドレス、マイニング プール アドレス、支払い ID などの情報を入力し、CPU 構成情報 (微調整可能) を入力してから、./xmr-stak-cpu を実行して自動的にマイニングを開始します。 主な変更点は次のとおりです。 a. 25行目と26行目 「cpu_threads_conf」: ヌル、 に: 「cpu_threads_conf」: [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },
]、 CPUに応じて変更してください。 b. 「wallet_address」: 自分のウォレットアドレスに変更する c. 「プールアドレス」: 状況に応じてマイニングプールを変更する d、「httpd_port」: 0、 他のポートに変更して採掘状況をリアルタイムで確認する 3. インストールとセットアップが完了したら、マイニングを開始します。 screen -S mine ./xmr-stak-cpu xmr-stak/bin/ の下で実行します。 4. メモリ割り当て失敗の解決策: mmap 失敗 sysctl -w vm.nr_hugepages=128
次に、ファイル /etc/security/limits.conf を編集し、次の 2 行を最後から 2 番目の行の前または前に追加します。 soft memlock 262144 hard memlock 262144 または echo "* soft memlock 262144" >> /etc/security/limits.conf echo "* hard memlock 262144" >> /etc/security/limits.conf
その後、再起動するか、ログアウトして再度ログインします。 5. 寄付について xmr-stakのdonate-level.hファイルを編集して変更します constexpr ダブル fDevDonationLevel = 2.0 / 100.0; 変更する constexpr ダブル fDevDonationLevel = 0.5 / 100.0; 他の比率も使用できます。 6. モネロクライアントの公式ダウンロード(さまざまなシステムで利用可能) https://getmonero.org/downloads/ https://github.com/fireice-uk/xmr-stak-cpu 7. 私の設定ファイル "cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }, ], "use_slow_memory" : "warn", "nicehash_nonce" : false, "aes_override" : null, "use_tls" : false, "tls_secure_algo" : true, "tls_fingerprint" : "", "pool_address" : "xmr-eu1.nanopool.org:14444", "wallet_address" : "42Y3G8N9XXNQs1XNQeTBHTNot1iEBpHcT2EkoCQMnaEJT2N2jg7TbKYjXqrT3anyZ22j7DEE74GkbVcQFyH2nNiC3depW2J", "pool_password" : "", "call_timeout" : 10, "retry_time" : 10, "giveup_limit" : 0, "verbose_level" : 3, "h_print_time" : 60, "daemon_mode" : true, "output_file" : "", "httpd_port" : 1024, "prefer_ipv4" : true,
8. 支払いIDとウォレットアドレスを入力します。 支払いIDを生成: openssl rand -hex 32 ウォレットアドレスを入力する形式は、ウォレットアドレス.支払いIDです。 10. XMR取引アドレス https://hitbtc.com/exchange/XMR-to-BTC 出典: https://qing.su/article/129.html、http://www.hostloc.com/space-uid-3598.html、http://www.hostloc.com/thread-406398-1-1.html |