0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS6 でCUIマイニング環境を作る

Last updated at Posted at 2018-02-20

はじめに

NASサーバ(CentOS6)の普段利用していないマシンリソースをマイニングに利用することにした

結論から言うと、CentOS6 だと必要なライブラリそろえるのが面倒だったので、
ほかの方の記事を参考にDockerでUtuntuインスタンスを作ってその上でマイニングするようにした

前提条件

  • Minergate に登録済である

Docker のインストール

$ sudo rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
$ sudo yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum -y install docker-io
  • サービス設定
$ sudo service docker start
$ sudo chkconfig docker on

Ubuntuイメージ取得〜起動

$ sudo docker pull ubuntu
$ sudo docker run -i -t ubuntu /bin/bash

Ubuntuでマイニング環境の準備

  • ここからは、起動したUbuntuイメージ上で実行
# apt-get update
# apt-get install -y wget
# wget https://minergate.com/download/deb-cli
# dpkg -i deb-cli

マイニングの実行

# nohup minergate-cli -user hoge@hoge.com -xmr &
  • ログみたいとき
# tail -f nohup.out

参考

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?