- Install VGA driver and CUDA
- Edit the .bashrc file from the root user and add the following lines at its end.
$ vi /root/.bashrc
...
export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.1/bin:$PATH
- Reboot
- Install the required packages and configure the system to use an older version of GCC as default.
$ apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
$ apt-get install gcc-5 g++-5
$ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- Download, compile and install the CCMINER software.
$ git clone https://github.com/tpruvot/ccminer
$ cd ccminer
$ ./build.sh
$ install -sv ccminer /usr/local/bin/
- To start the Litecoin GPU mining use the following command, as an example:
$ ccminer -a scrypt -o stratum+tcp://ltc.ss.poolin.com:443 -u USER_NAME -p USER_PASSWORD