Mining Monero using a Nvidia GTX GPU - For Linux

In this post I will show you how to gpu mine monero using the Geforce GTX GPU of your linux computer and a software called ccminer.

  • We are using Ubuntu server version 16. (64 bits)
  • We are using the MINERGATE minig pool
  • Minergate will charge you a small percentage of your mining profits, something like 1.5%

MINERGATE

Access the MINERGATE website and create an account, in order to have the authorization to use this mining pool

GPU INSTALLATION - GeFORCE GTX

Use the following commands to install the required packages to enable the Nvidia Geforce Graphic card on your linux computer. (Mine is a GTX 970)

# mkdir /downloads
# cd /downloads
# wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
# dpkg -i cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
# apt-get update
# apt-get install cuda

After finishing the installation you need to 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-8.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-8.0/bin:$PATH

After finishing the installation, reboot the computer.

# reboot

CCMINER INSTALLATION

Use the following commands to install the ccminer required packages.

# apt-get install libcurl4-openssl-dev git build-essential libssl-dev
# apt-get install autotools-dev autoconf libcurl3 libcurl4-gnutls-dev

Use the following commands to download, compile and install the ccminer-cryptonight software.

# cd /downloads
# git clone https://github.com/tsiv/ccminer-cryptonight
# cd ccminer-cryptonight/
# ./autogen.sh
# ./configure
# make
# make install

MINING MONERO

In order to start mining monero, use the following command:

# ccminer -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u [email protected] -p x

YOUTUBE VIDEO

In our YOUTUBE channel, we offer a video showing you the step by step procedure.

Sort:  

If anyone finds this now, this guide still mostly works. However, the cuda version is 9.0 now and there's an issue compiling it currently that is solved here: https://github.com/tsiv/ccminer-cryptonight/issues/28. Hope it helps. =)

That' too much work for me, I am thinking about just purchasing a genesis minig contract to mine monero. What do you think?

if you are using these directions on ubuntu 17.04 remember that gcc 6 isn't supported by nvcc: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1667815

it would be cool if it would be possible to mine bitcoin directly from your PC through a CPU or GPU.

Well, possible it is...it is just not profitable to do so anymore. Checkout this tutorial showing how to mine bitcoin using your computer: https://steemit.com/bitcoin/@virtualcoin/how-to-mine-bitcoin-using-the-cpu-for-linux

Congratulations @virtualcoin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!