Would you like to learn how to do Monero GPU mining? In this tutorial, we are going to show you how to GPU mine Monero using the software CCMINER and a Nvidia GTX 1080 GPU on a computer running Ubuntu Linux.

Hardware List:

The following section presents the list of equipment used to create this Monero GPU Mining tutorial.

Every piece of hardware listed above can be found at Amazon website.

Monero Playlist:

On this page, we offer quick access to a list of videos related to Monero GPU mining.

Don't forget to subscribe to our youtube channel named VirtualCoin.

Monero Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Monero.

Tutorial - Monero GPU Mining GTX 1080

Create a new account on the Minergate website to become a member of the mining pool

On the Linux console, use the following command to update the package database.

# apt-get update

Download and install the Nvidia GTX 1080 GPU driver.

# mkdir /downloads/driver –p
# cd /downloads/driver
# wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64
# dpkg -i cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64
# apt-key add /var/cuda-repo-9-1-local/7fa2af80.pub

Download and install the most recent Nvidia GTX 1080 patch.

# cd /downloads/driver
# wget https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda-repo-ubuntu1704-9-1-local-cublas-performance-update-1_1.0-1_amd64
# dpkg -i cuda-repo-ubuntu1704-9-1-local-cublas-performance-update-1_1.0-1_amd64

Update the APT-GET database and install the CUDA package.

# apt-get update
# apt-get install 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

Now, you need to reboot your computer.

# 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

As our last step, download, compile and install the CCMINER software.

# cd /downloads
# git clone https://github.com/tpruvot/ccminer
# cd ccminer
# ./build.sh
# install -sv ccminer /usr/local/bin/

To start the Monero GPU mining use the following command, as an example:

# ccminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u virtualcoin.videos@gmail.com -p x

As a requirement, you need to change the username virtualcoin.videos@gmail.com from the command above to your username.

Keep in mind that the username virtualcoin.videos@gmail.com was used only as an example.

The computer was able to obtain the following hashrate: 503.32 H/s