Guest User

EC2 Mining Setup

a guest
Nov 22nd, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.90 KB | None | 0 0
  1. #!/bin/bash
  2. # source this script if you want the exports to stick
  3. # this assume
  4. # download needed packages
  5. sudo apt-get update
  6. sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev gcc make libcurl4-openssl-dev autoconf git screen libncurses5-dev libdb4.8-dev libtool -y
  7. # install CUDA
  8. # manually accept EULA, download driver + CUDA to default location. Can skip samples
  9. wget http://developer.download.nvidia.com/compute/cuda/5_5/rel/installers/cuda_5.5.22_linux_64.run
  10. sudo bash cuda_5.5.22_linux_64.run
  11. # add to paths
  12. export PATH="/usr/local/cuda-5.5/bin:$PATH"
  13. export LD_LIBRARY_PATH="/usr/local/cuda-5.5/lib64:/lib"
  14. sudo ./nvidiastartup.sh
  15. # Download and build cudaminer
  16. git clone git://github.com/cbuchner1/CudaMiner
  17. cd CudaMiner
  18. ./configure
  19. make
  20. # ./cudaminer -H 1 -i 0,0 -o stratum+tcp://pool:port -O workername:workerpw
Advertisement
Add Comment
Please, Sign In to add comment