Installing and Running ccminer


This guide covers the installation and running of "ccminer," also known as "cuda miner."  This is a gpu (graphics processor unit) miner which is optimized for (and requires) certain supported NVIDIA graphics cards.  This guide was written with the assumption that you have Ubuntu 12.04 LTS and a supported NVIDIA graphics card installed on your machine.


The installation process can be broken into two broad steps: the first is the installation of NVIDIA's "cuda tools," and the second is the actual installation of ccminer itself.  This guide will also cover a third step -- the running of ccminer on a mining pool.


Step 1.  Installing NVIDIA's Cuda Tools


Install NVIDIA's cuda tools by executing each of the following lines, one at a time:

sudo apt-get update

sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev gcc make -y

sudo apt-get install libcurl4-openssl-dev autoconf git screen libncurses5-dev -y

sudo apt-get install linux-headers-$(uname -r) -y

cd ~/Downloads


sudo /usr/bin/nvidia-uninstall

sudo dpkg -i cuda-repo-ubuntu1204_6.0-37_amd64.deb

sudo apt-get update


sudo apt-get install cuda


sudo nano ~/.bashrc


export CUDA_HOME=/usr/local/cuda-6.0



export PATH


cd /usr/lib

ln -s /usr/lib/nvidia-331/


export PATH=/usr/local/cuda-6.0/bin:$PATH

export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64:$LD_LIBRARY_PATH


export DYLD_LIBRARY_PATH=/usr/local/cuda-6.0/lib:$DYLD_LIBRARY_PATH ~/

cd ~/NVIDIA_CUDA-6.0_Samples 


sudo reboot

cd ~/NVIDIA_CUDA-6.0_Samples



You are done installing cuda tools.


Step 2.  Installing ccminer


You are now ready to install ccminer:


cd ~/








cd ~/ccminer-master



PATH=/usr/local/cuda-6.0/bin:$PATH make


Ccminer is now installed!  You can run (or restart it if it has been shut down) it as follows:


1.) Create a screen session for ccminer so it persists even if you aren’t logged in to the machine:


sudo screen -S ccminer


2.) Then start p2pool-drk this way:


cd ~/ccminer-master (This is only needed when restarting, because you already just executed it above.)


LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib64 ./ccminer --algo=x11 -o stratum+tcp:// -u <your-darkcoin-address> -p <some-password-you-can-use-anything-here> (This starts you mining on Planet Crypton's p2pool.)


3.) To detach from your screen session (and leave it running) hit CTRL+A and then press D   If you ever need to come back to this screen session, just type:

sudo screen -r ccminer


Donations to Planet Crypton may be sent to any of the addresses below:
Bitcoin   BTC   1DX7CwPpTVRtYDNdJmAgu6YiGNiBbCy8TK
Cryptogenic   CGB   5ZayDGUUNYvu9NPrzVtqHdgp84yZ4V715Y
Darkcoin   DRK   XhwsyqCT5pXmfbMCvjkVefcqTAzsUd1y2z
Datacoin   DTC   DKPxTR42T6PtGzfypyUmZx4SNoF1EV1FVK
Devcoin   DVC   1NoNpadN8SmYv8CvjzeD5BPoct52WdYa2T
Digitalcoin   DGC   DKnA78uyScD7a5ZVmr7tYLxwQxX4731Ad3
Dogecoin   DOGE   DCQnicGvMgghUTtGfJgvx2XjzdS8rqmJK8
Feathercoin   FTC   6e1gquKd4yMFKcnJqBZZb9gnTT19FxnPWX
Infinitecoin   IFC   i9gdFXagtpzeQjgtTr6mQThCqpWLgsFR5n
Ixcoin   IXC   xmd2TwspuvVHuW2VuLnVzoFSwVAoiAkqez
Litecoin   LTC   LMrKrZRayv4Cj8qoXhnmjSACNGHCG3d48t
Memorycoin   MMC   MLjbQa2CEwh6rXiCUYFYkwXq1ByBmytzXt
Namecoin   NMC   N7yPYNXxVar8wWz2JpCskSHWJuE4Jmd77k
Novacoin   NVC   4YFx3yoCVsRtv3sLK1XSgAY818AvM3ic25
Peercoin   PPC   PL7rUo6QwZskuY4h4JseyoiqwH3Zsk7fAz
Primecoin   XPM   ARLG4MD6zbU9yENDAKxGvZYixVQNxZE35R
Protoshares   PTS   PbgsjytSatjxAUPhx13Miq6Q9QjcDwq9Vo
Quarkcoin   QRK   QP8ogwaK63nqkgiEUDyw4pZSCSWFp56tsT
Terracoin   TRC   16m2hwePmsQyWE8qEamoiWBZoaG9oRqGZM
Testnet   TEST   mjKJfi4CZ7yrWofuDtF9SjyuoqCkorhek8
Vertcoin   VTC   VscmvCqXHJszXEJ7aUP8FA1AhXanU6BNeE
Worldcoin   WDC   WT5Mj26e2w5XtyvnkyFKvr3muwBYcbd99h
Zetacoin   ZET   ZQMfBXnju9nCVWV8pH8oja6u7Ujm725pWg


Powered by AlienEngine. Get yours now!