Advertisement
Guest User

GRIN GPU Miner Install

a guest
Jan 10th, 2019
2,027
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. https://medium.com/@blade.doyle/gpu-mining-on-mwgrinpool-com-how-to-72970e550a27
  2. https://askubuntu.com/questions/1085605/nvidia-driver-410-listed-by-ppa-and-ubuntu-drivers-but-does-not-seem-to-be-insta
  3.  
  4. https://developer.nvidia.com/cuda-downloads
  5. deb(network) download file
  6. sudo apt-get install build-essential dkms
  7. cd /home/owner/Downloads
  8. sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
  9. sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
  10. sudo apt-get update
  11. sudo apt-get install cuda
  12. sudo reboot
  13.  
  14. sudo apt-get install cuda-toolkit-10-0
  15. export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
  16. nvidia-smi
  17. nvcc -V
  18.  
  19.  
  20. mkdir ~/mwgrinpool
  21.  
  22. cd ~/mwgrinpool
  23.  
  24. sudo apt-get update
  25.  
  26. sudo apt-get install -y curl git cmake make zlib1g-dev pkgconf ncurses-dev libncursesw5-dev linux-headers-generic g++ libssl-dev
  27.  
  28. curl https://sh.rustup.rs -sSf | sh
  29.  
  30. source $HOME/.cargo/env
  31.  
  32. git clone https://github.com/mimblewimble/grin-miner.git
  33. cd grin-miner
  34. git submodule update --init
  35.  
  36. sed -i 's/^\(cuckoo_miner.*\)}/\1, features = ["build-cuda-plugins"] }/' Cargo.toml
  37.  
  38. cargo build --release
  39.  
  40. sed -i 's/stratum_server_addr.*/stratum_server_addr = "stratum.mwgrinpool.com:3333"/' grin-miner.toml
  41.  
  42. printf "\nUsername: " && read username && sed -i 's/.*stratum_server_login.*/stratum_server_login = "'$username'"/' grin-miner.toml
  43.  
  44. printf "\nPassword: " && read password && sed -i 's/.*stratum_server_password.*/stratum_server_password = "'$password'"/' grin-miner.toml
  45.  
  46. sed -i 's/^plugin_name =.*/plugin_name = "cuckaroo_cuda_29"/' grin-miner.toml
  47.  
  48. ./target/release/grin-miner
Advertisement
RAW Paste Data Copied
Advertisement