ZCash Miner: ewbf

From OnnoWiki
Jump to navigation Jump to search

EWBF bisa menggunakan nvidia cuda untuk komputasi / proses mining. EWBF _TIDAK_ bisa digunakan untuk driver nvidia 340

Install Cuda

wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt update
sudo apt install cuda
sudo apt install nvidia-375 nvidia-cuda-toolkit

Install the OpenCL development Untuk Tesla c1060 (pakai nvidia-340)

sudo apt install nvidia-opencl-dev nvidia-340
sudo apt install nvidia-cuda-toolkit


sudo apt install nvidia-opencl-dev nvidia-375
sudo apt install nvidia-cuda-toolkit

atau

sudo apt-get install nvidia-opencl-dev nvidia-361
sudo apt install nvidia-cuda-toolkit

Either reboot, or load the kernel driver:

sudo modprobe nvidia_375

atau

sudo modprobe nvidia_361


Download

https://github.com/caiqinghua/ewbf/tree/master/linux


mkdir -p /usr/local/src/ewbf
cd /usr/local/src/ewbf
wget https://github.com/caiqinghua/ewbf/blob/master/linux/Zec%20miner%200.3.2b.tar.gz



Download (untyuk non Tesla C1060)

https://github.com/nanopool/ewbf-miner/releases/download/v0.3.4b/Zec.miner.0.3.4b.Linux.Bin.tar.gz
mkdir -p /usr/local/src/ewbf
cd /usr/local/src/ewbf
wget https://github.com/nanopool/ewbf-miner/releases/download/v0.3.4b/Zec.miner.0.3.4b.Linux.Bin.tar.gz
tar zxvf Zec.miner.0.3.4b.Linux.Bin.tar.gz

Edit

cd /usr/local/src/ewbf
vi start.sh

Isi dengan

cd /usr/local/src/ewbf/
./miner --server zec.slushpool.com --user usernameanda.namaworker --pass passwordanda --port 4444

Jika ingin aman, boot setiap 3 jam & masukan ke /etc/rc.local

Edit

crontab -e

isi dengan

0 */3 * * * /sbin/reboot

Edit

vi /etc/rc.local

Isi

/usr/local/src/ewbf/start.sh &