Настройка майнинга NiceHash под Ubuntu
Сначала ставим драйвера Nvidia и CUDA-8.0. Например так:
https://www.asozykin.ru/deep_learning/2017/02/26/How-to-install-cuda-8-on-Ubuntu-16-04.html
1 2 3 4 5 6 7 8 9 10 11 |
sudo apt-get remove --purge nvidia-* sudo nvidia-uninstall sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get install nvidia-375 sudo sh ./cuda_8.0.61_375.26_linux.run export PATH=$PATH:/usr/local/cuda/bin export CUDADIR=/usr/local/cuda export GLPATH=/usr/lib sudo ldconfig reboot |
Рецепт для Equihash
https://www.reddit.com/r/NiceHash/comments/777ezc/running_nicehash_for_gpu_on_ubuntu/
1 2 3 4 5 6 7 8 9 |
git clone https://github.com/nicehash/nheqminer.git cd nheqminer/cpu_xenoncat/asm_linux/ apt-get install cmake sh assemble.sh cd ../../../ mkdir nicehash && cd nicehash cmake ../nheqminer export CUDA_CUDART_LIBRARY="/usr/local/cuda/lib64/libcudart.so" make -j $(nproc) |
Проверяем:
1 |
./nheqminer -b -cd 0 |
Запускаем:
1 |
./nheqminer -l equihash.eu.nicehash.com:3357 -u YOUR_BTC_ADDRESS_HERE.worker_name -cd 0 |
Рецепт для CCMiner (Lyra2V2)
https://cryptoandcoffee.com/mining-gems/install-ccminer-tpruvot-fork-ubuntu-16-04/
1 2 3 4 5 6 7 8 9 10 11 12 |
mkdir ccminer cd ccminer git clone https://github.com/tpruvot/ccminer.git cd ccminer/ export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib export PATH=$PATH:/usr/local/cuda-8.0/bin apt-get install automake apt-get install libssl-dev ./autogen.sh ./configure make cd ../../ |
Запуск:
1 |
./ccminer/ccminer/ccminer -a lyra2v2 -o stratum+tcp://lyra2rev2.eu.nicehash.com:3347 -u YOUR_BTC_ADDRESS_HERE.worker_name -p x |