Bitcoin, Litecoin, Cryptocoin CPU, GPU und USB Miner Mining unter Linux

Alles was nicht alltäglich ist und nirgendwo so richtig reinpasst
Post Reply
User avatar
h3rb3rn
Administrator
Posts: 189
Joined: Mon 9. Feb 2015, 23:29

Bitcoin, Litecoin, Cryptocoin CPU, GPU und USB Miner Mining unter Linux

Post by h3rb3rn »

Aktualisierte Fassung vom 09.01.2018

Inspiriert vom Fucking IT Blog und aktualisiert für Ubuntu 17.10 64 Bit.

Quelle: http://www.fucking-it.com/de/lernprogra ... eforce-gtx



Für alle aufgeführten Miner wird ein Konto bei einem Mining Portal (Pool) wie zum Beispiel minergate.com benötigt.



NVidia Cuda Treiber für GPU Mining installieren

Download nVidia Paket von http://developer.download.nvidia.com/co ... 04/x86_64/

Code: Select all

cd
cd Downloads
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1704/x86_64/cuda-repo-ubuntu1704_9.1.85-1_amd64.deb

Code: Select all

sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1704/x86_64/7fa2af80.pub
Installation des Nvidia Paketes

Code: Select all

sudo dpkg -i cuda-repo-ubuntu1704_9.1.85-1_amd64.deb

Code: Select all

apt update && apt --yes install cuda

Code: Select all

vim /root/.bashrc
Inhalt einfügen an das Ende der Datei

Code: Select all

export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.1/bin:$PATH
System neustarten

Code: Select all

sudo reboot


Mining Software installieren


GPU Miner für Bitcoin Gold und Zcash
=============================


Quelle: https://github.com/poolgold/ewbf-miner- ... n/releases
Quelle: https://minergate.com/faq/how-to-mine-btg-with-console

Code: Select all

cd ~
mkdir Bitcoin-Gold
wget https://github.com/poolgold/ewbf-miner-btg-edition/releases/download/v0.3.4b-BTG/BTG-nVidia.miner.0.3.4b.Linux.Bin.zip
unzip BTG-nVidia.miner.0.3.4b.Linux.Bin.zip
cd BTG-nVidia.miner.0.3.4b.Linux.Bin
für Zcash (ZEC)

Code: Select all

./miner --server zec.pool.minergate.com --user YOUR@EMAIL.TLD --pass x --port 3357
für Bitcoin Gold (BTG)

Code: Select all

./miner --server btg.pool.minergate.com --user YOUR@EMAIL.TLD --pass x --port 3257

Code: Select all

Startskript anpassen

Code: Select all

rm start.sh && echo "./miner --server btg.pool.minergate.com --user YOUR@EMAIL.TLD --pass x --port 3257" > start.sh && chmod +x start.sh
Miner ausführen

Code: Select all

sh start.sh



ETHMINER
=========


Quelle: https://de.minergate.com/faq/how-to-min ... th-console

Offiziell nur unter Ubuntu 16.04 möglich

Code: Select all

sudo add-apt-repository ppa:ethereum/ethereum-qt 
sudo add-apt-repository ppa:ethereum/ethereum 
sudo apt update && sudo apt install ethminer
Inoffiziell unter Ubuntu 17.10

Code: Select all

sudo echo "deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu xenial main" > /etc/apt/sources.list.d/ethereum.list
sudo echo "deb http://ppa.launchpad.net/ethereum/ethereum-qt/ubuntu xenial main" >> /etc/apt/sources.list.d/ethereum.list

Code: Select all

sudo vim /etc/apt/sources.list.d/xenial.list
Inhalt einfügen

Code: Select all

###### Ubuntu Main Repos
deb http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://de.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 
deb http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 
deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse 
Etherminer installieren

Code: Select all

sudo apt update && sudo apt install ethminer
Starten

Code: Select all

ethminer -G -F http://eth.pool.minergate.com:55751/YOUR@EMAIL.TLD --disable-submit-hashrate


Bfg Miner
=======


Quelle: http://www.instructables.com/id/Bitcoin ... pberry-Pi/

Download

Code: Select all

cd ~
git clone --recursive https://github.com/luke-jr/bfgminer.git
cd bfgminer
./autogen.sh
./configure
make
Ausführen

Code: Select all

./bfgminer -o stratum.bitcoin.cz:3333 -O username.worker:password -S all


CGMiner für USB Miner (SHA-256d und scrypt)
==================


Quelle: https://minergate.com/faq/what-pool-address-ltc

Installieren

Code: Select all

sudo apt update && sudo apt --yes install cgminer
Ausführen

Code: Select all

cgminer -o stratum+tcp://ltc.pool.minergate.com:3336 -u YOUR@EMAIL.TLD --hotplug 5
cgminer mit USB NanoFury NF2 Miner von bitshopper.de auf Bananapi mit Ubuntu 16.04
cgminer mit USB NanoFury NF2 Miner von bitshopper.de auf Bananapi mit Ubuntu 16.04



Modifizierter CPU Multiminer für Raspberry Pi

Quelle: https://github.com/lucasjones/cpuminer-multi

Miner herunterladen

Code: Select all

sudo bash
apt update && apt install github

Code: Select all

cd ~
git clone https://github.com/lucasjones/cpuminer-multi.git
cd cpuminer-multi
sh autogen.sh
./configure
make
Miner starten

Code: Select all

./minerd -a cryptonight -o stratum+tcp://bcn.pool.minergate.com:45550 -u YOUR@EMAIL.TLD -t 4



MINERGATE CPU MINER
====================


Quelle: https://gist.github.com/FinlayDaG33k/23 ... 19a374406e

Code: Select all

sudo apt update && sudo apt --yes install autoconf autogen libtool uthash-dev libjansson-dev libcurl4-openssl-dev libusb-dev libncurses-dev git-core

Code: Select all

cd ~/Downloads
wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
Starten des Miners

Code: Select all

minergate-cli -user YOUR@EMAIL.TLD -bcn 2 -fcn+dsh 2


CPU Miner für Litecoin
=================


Quelle: https://bitcointalk.org/index.php?topic=55038.0
Quelle: https://minergate.com/blog/bitcoin-litecoin-mining/

Download

Code: Select all

cd ~
mkdir Miner
cd Miner
wget https://github.com/pooler/cpuminer/releases/download/v2.5.0/pooler-cpuminer-2.5.0-linux-x86_64.tar.gz
tar xzf pooler-cpuminer-2.5.0-linux-x86_64.tar.gz
chmod +x minerd
Start für Litecoin Mining

Code: Select all

minerd -o stratum+tcp://ltc.pool.minergate.com:3336 -u YOUR@EMAIL.TLD -p x


Weitere Miner HowTo habe ich bei https://www.youtube.com/channel/UCYRDo6 ... d4A/videos gefunden.



Minegate Pool Tabelle

Quelle: https://minergate.com/faq/what-pool-address

Ethereum
ETC - Ethereum Classic - etc.pool.minergate.com:45777
ETH - Etheurem - eth.pool.minergate.com:45791

Scrypt
LTC - Litecoin - ltc.pool.minergate.com:3336

Equihash
BTG - Bitcoin Gold - btg.pool.minergate.com:3257
ZEC - Zcash - zec.pool.minergate.com:3357

Cryptonight/Cryptonote
AEON - Aeon Coin - aeon.pool.minergate.com:45690
BCN - Bytecoin - bcn.pool.minergate.com:45550
DSH - Dashcoin - dsh.pool.minergate.com:45720
FCN - FantomCoin - fcn.pool.minergate.com:45610
INF8 - Infinium 8 - inf8.pool.minergate.com:45750
MCN - MonetaVerde - mcn.pool.minergate.com:45640
QCN - QuazarCoin - qcn.pool.minergate.com:45570
FCN - Fantomcoin - fcn.pool.minergate.com:45610
XDN - Digitalnote - xdn.pool.minergate.com:45620
XMR - Monero - xmr.pool.minergate.com:45560



Linkempfehlungen

https://coinspondent.de - Sehr gut komprimierte Hintergrundinformationen zu allen Coins Varianten
http://deadcoins.com/ - Übersicht aller toten oder als Betrug entlarvten Coin Varianten
https://www.coingecko.com - Aktuelle Kurs Übersicht vieler Coin Varianten
Post Reply