お名前.comのVPSは複数台構成にできない。
OSはUbuntuを使用。
一日10BitZeny前後掘れる。
BitZenyチャート
2017円12月24日現在。 24円前後
BitZeny 相場チャート (ZNY/JPY) | CoinGecko
マイニングプール設定
マイニングプールはLA Bitzeny Poolを使用。
他のマイニングプールの多くは新規申し込み停止しているため。
https://lapool.me/bitzeny/index.php
アカウント作成後、ウォーカーを作っておく。
OSインストール
コンパネに入ったらOS再インストールから
「カスタムOS Ubuntu 16.04(64bit)」を選びOSを入れる。
メニューの「起動」を選んでUbuntuをインストールする。
マイニングでの使用のみに限定するので特別な設定はなし。
Ubuntuの初期設定ではrootのパスワードは設定されない。
OSインストールに作ったユーザーを使いsudoコマンドで作成してユーザーのパスワードを入れて実行する。
cpuminerのインストール
・インストール手順
GitHub - bitzeny/bitzeny: BitZeny Core integration/staging tree
・アップデートコマンド
sudo apt update sudo apt upgrade
・gitからダウンロードしたファイルをホームディレクトリに「cpuminer」フォルダを作成して保存
git clone https://github.com/bitzeny/cpuminer.git cpuminer
・cpuminerフォルダへ移動。
cd cpuminer
・cpuminerのパッケージインストール。
make時にhow to fix configure: error: C compiler cannot create executablesのエラーがでてここでハマった。
原因:「CFLAGS="-O3」の「O3」は「大文字O」と「3」 ゼロ(0)ではない。
sudo apt-get install libcurl4-openssl-dev gcc-mingw-w64 automake gcc make ./autogen.sh ./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer" make
cpuminer実行
cpuminer実行コマンド
User.WorkerとPasswordはLA Bitzeny PoolのウォーカーのUser名とパスワード
./minerd -a yescrypt -o stratum+tcp://jp.lapool.me:3014 -u User.Worker -p Password
○○Khash/s (yay!!!)の文字が出たら成功。
cpulimitをかける場合のコマンド
cpulimit -l 700 -- ./minerd -a yescrypt -o stratum+tcp://jp.lapool.me:3014 -u User.Worker -p Password