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 wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.0-37_amd64.deb 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
cuda-install-samples-6.0.sh ~/ cd ~/NVIDIA_CUDA-6.0_Samples make sudo reboot
You are done installing cuda tools.
Step 2. Installing ccminer
You are now ready to install ccminer:
./autogen.sh ./configure 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://darkcoin.p2pool.planetcrypton.com:7903 -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:
Donations to Planet Crypton may be sent to any of the addresses below:
|Powered by AlienEngine. Get yours now!|