You can run equihash algorithm through NiceHash on Ubuntu. I just did this on my machine which is running Ubuntu 16.04 LTS and a Nvidia GTX 960 GPU.
1) Install latest nvidia drivers (unless you already have them installed)
- First purge previous drivers
sudo apt-get purge nvidia-* - Then checking what the latest drivers are by running
ubuntu-drivers devices - Then install the recommended one
sudo apt-get install nvidia-387 - Then reboot the computer
2) Install CUDA
- Download CUDA: https://developer.nvidia.com/cuda-downloads?target_os=Linux picking the runfile (local)
- Run
sudo sh cuda_xxxxx_linux.runbut select no for drivers, select yes for toolkit, select no for samples
3) Install nheqminer
git clone https://github.com/nicehash/nheqminer.gitcd nheqminer/cpu_xenoncat/asm_linux/sh assemble.shcd ../../../mkdir nicehash && cd nicehash(name this dir whatever you want)cmake ../nheqminer(assuming you have cmake v3.5+ already installed)make -j $(nproc)
4) Benchmark NiceHash
./nheqminer -b -cd 0
5) Run NiceHash
./nheqminer -l equihash.usa.nicehash.com:3357 -u YOUR_BTC_ADDRESS_HERE.worker_name -cd 0- You can name your worker anything you like. It will come up in the NiceHash dashboard
- You can change the -l to be another region as per the github documentation: https://github.com/nicehash/nheqminer
- -cd 0 means use GPU at slot 0. You can check GPU numbers by running
nvidia-smi
6) Create a bash script to cd to your /nicehash directory and run the above script
Let me know if this is useful info!
Looks to be a very useful repost. Thanks.