cryptogrot.xmr-stak
Ansible cryptogrot.xmr-stak Rolle
Diese Rolle installiert und konfiguriert das Mining-Tool xmr-stak
auf einem Linux-Betriebssystem. Mit dieser Rolle können Sie xmr-stak
mit dem benötigten Backend aus dem neuesten offiziellen Quellcode von GitHub konfigurieren.
Übersicht
- Funktionen
- Schnellstart
- Voraussetzungen
- Bereitstellung
- CPU-Backend
- NVIDIA-Backend (experimentell)
- AMD/ATI-Backend (experimentell)
- Erweiterte Einrichtung und Konfiguration
Funktionen
Unterstützte Backend-Typen:
- NVIDIA (CUDA 9.1)
- AMD/ATI (OpenCL)
- CPU
Unterstützte Algorithmen:
- Cryptonight (standardmäßig konfiguriert)
- (Monero, Sumokin, Electroneum, Intense, usw.)
- Cryptonight-light
- (AEON, usw.)
Schnellstart
Voraussetzungen
Ubuntu/Debian
$ sudo apt install python-pip -y
Fedora
$ sudo dnf install python-pip -y
CentOS 7
$ sudo yum install python-pip -y
Bereitstellung
$ sudo pip install -U pip ansible
$ mkdir -p ~/ansible/{inventories/xmr-stak,playbooks/xmr-stak,roles}
$ cat << EOF > ~/ansible/ansible.cfg
[defaults]
host_key_checking = False
roles_path = ./roles
EOF
$ cat << EOF > ~/ansible/playbooks/xmr-stak/site.yml
---
- name: Ermittle xmr-stak Miner Programm
hosts: all
user: debian
become: true
roles:
- cryptogrot.xmr-stak
EOF
$ ansible-galaxy install --force --roles-path ~/ansible/roles cryptogrot.xmr-stak
Das Ansible-Inventar muss in der Datei ~/ansible/inventories/xmr-stak/hosts
erstellt werden. Hier versuchen wir, ein Beispiel für verschiedene Distributionen bereitzustellen.
[miner]
192.168.0.2 ansible_user=fedora ansible_python_interpreter=/usr/bin/python3
192.168.0.3 ansible_user=fedora
192.168.0.4 ansible_user=root
192.168.0.5 ansible_user=ubuntu
192.168.0.6 ansible_user=centos
192.168.0.[13:30] ansible_user=debian ansible_port=22
CPU
$ ansible-playbook -i ~/ansible/inventories/xmr-stak/hosts \
~/ansible/playbooks/xmr-stak/site.yml \
-e "xmr_stak_cpu_support=true \
xmr_stak_hwloc_support=true \
xmr_stak_pool_address=itns001.cryptogrot.io \
xmr_stak_pool_port=6666 \
xmr_stak_wallet_address=iz69...ihJF5FY7ed319xS...1kXj1N7yRa...Gmwfrh"
NVIDIA
$ ansible-playbook -i ~/ansible/inventories/xmr-stak/hosts \
~/ansible/playbooks/xmr-stak/site.yml \
-e "xmr_stak_nvidia_support: true \
xmr_stak_pool_address=itns001.cryptogrot.io \
xmr_stak_pool_port=6666 \
xmr_stak_wallet_address=iz69...ihJF5FY7ed319xS...1kXj1N7yRa...Gmwfrh"
AMD/ATI
$ ansible-playbook -i ~/ansible/inventories/xmr-stak/hosts \
~/ansible/playbooks/xmr-stak/site.yml \
-e "xmr_stak_amd_support: true \
xmr_stak_pool_address=itns001.cryptogrot.io \
xmr_stak_pool_port=6666 \
xmr_stak_wallet_address=iz69...ihJF5FY7ed319xS...1kXj1N7yRa...Gmwfrh"
Lizenz
GPLv3
Autorinformationen
cryptogrot - contact@cryptogrot.io - 2018
Über das Projekt
Install and configure xmr-stak miner for cryptonight* currencies on Linux
Installieren
ansible-galaxy install cryptogrot.xmr-stak
Lizenz
gpl-3.0
Downloads
80
Besitzer
All my dreams are about mining !