How-to Guide for Installing the Linux version of ccminer (tpruvot) on Ubuntu 16.04.04
This is a quick guide that I created a few months back. It gets the latest version of tpruvot’s ccminer installed and running on your Ubuntu mining rig. There are a lot of algos which can use this, and since most of my rigs run on linux, I had to find a way to get it installed. It is the general commands that I use from a terminal. The assumption here is that you already have Ubuntu 16.04 installed and updated. It is also assumed that you are running NVidia 1080Ti cards, and they are all functional. I am going to run it all logged in as sudo to make it quick and easy.
From the terminal:
sudo bash
apt-get dist-upgade
apt-get purge nvidia*
reboot
mkdir /drivers && mkdir /drivers/nvidia
wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux
mv cuda_9.1.85_387.26_linux cuda_9.1.85_387.26_linux.run
chmod +x cuda_9.1.85_387.26_linux cuda_9.1.85_387.26_linux.run
sh cuda_9.1.85_387.26_linux.run
Answer “yes” for installing the nvidia-drivers, the cuda tools and the symbolic link.
apt-get install git automake openssl libssl1.0.0 libssl-dev libcurl4-openssl-dev
cd /drivers/
git clone https://github.com/tpruvot/ccminer.git
cd ccminer
nano Makefile.am
CTRL & W
Search for 61
Remove comment at the beginning of the line which refers to “61”
CTRL & X
Y to save
nano /etc/ld.so.conf.d/cuda-9.1-x86_64
Put only one line:
/usr/local/cuda-9.1/lib64
CTRL & X
Y to save
ldconfig
cd /drivers/ccminer
./build.sh
make install
cd /home/miner/ && nano .bashrc
add this to the end:
export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.1/bin:$PATH
CTRL & X
Y to save
nano start.sh
Insert the following into the file:
nvidia-smi -pm 1
nvidia-smi -acp 0
nvidia-smi -pl 300
./ccminer -a x16r -i 20 -o stratum+tcp://us.bsod.pw:2176 -u RMzHAFgqgjV5qLkajBjLQ325V7HWBpG3d9 -p c=RVN
CTRL & X
Y to save
chmod +x start.sh
./start.sh
You are now up and mining. I have chosen Raven for this one, only since I was mining it when I put it together. You will want to remove my wallet address and insert your own. Otherwise, the rest will get your rig up and running.
Happy Mining!