ccminer on ubuntu 17.04 with Nvidia gpus

in bitcoin •  7 years ago 

With more and more people wanting to get into the mining business I thought I would try and write a simple guide for any newcomers. I try to help you install ccminer and find out what coin to mine.

0. Quick and dirty
open terminal, check for updates and install Nvidia driver.
"git clone https://github.com/tpruvot/ccminer.git"
"cd ccminer/",
"export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib",
"export PATH=$PATH:/usr/local/cuda-8.0/bin" and
"echo 'export PATH=/usr/local/cuda-8.0/bin:$PATH' >> ~/.bashrc"
"./autogen.sh" and "./configure"
start mining! If that was a bit to quick, continue reading.

1. let's install ccminer!

1.1 Basics

To install ccminer first open a terminal. Do this by hitting the Windows key or going to the 3x3 dots in the bottom left corner of your screen and typing "terminal". Then just click on the app.
First thing first: run "sudo apt install autoconf" and check if you have the latest Nvidia drivers installed.

1.2 Preparation

Now you will want to go to your preferred spot for downloading files. In my case, this is the Desktop. In the terminal type "cd Desktop" and hit enter. Now you will want to make a folder where our files will go. To do this just type "mkdir tpruvot". Mkdir makes a Folder and tpruvot is the name of the distribution we are going to use. Let's go into this new folder by typing "cd tpruvot".

1.3 Downloading ccminer

To download the actual miner we first have to download git. Type "sudo apt install git" in your terminal. After installing git use "git clone https://github.com/tpruvot/ccminer.git" to download the miner.
Lets just quickly export some things in the new Folder:
"cd ccminer/",
"export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib",
"export PATH=$PATH:/usr/local/cuda-8.0/bin" and
"echo 'export PATH=/usr/local/cuda-8.0/bin:$PATH' >> ~/.bashrc"

1.4 configuring ccminer

Were almost done!
To configure the miner run "./autogen.sh" and "./configure".
If "./autogen.sh" throws up any issues you might have to give it permission by typing "./autogen.sh m4_pattern_allow"
After this all we have to do is run "make" no file extension or "./"
If this throws up any issues try:
"sudo apt install libcurl4-openssl-dev"
"sudo apt install OpenSSL"
"sudo apt install libssl-dev"

2. What do I mine?!?
To figure this out i suggest going to this link and filling out the form with your hardware, electricity costs and other personalized info.

By clicking on the name of your gpu and it turning green you can select how many of your gpus to use in the calculation.
Then click on Calculate! There you go. The most profitabl coin considering your rig.

Not all of the coins WhatToMine suggest will be mineable with ccminer but a lot of them are.
An example of a command you would use to mine your coin is
"ccminer -a cryptonight -o stratum+tcp://pool.karbowanec.com:5555 -u YOUR_WALLET_ADDRESS -p x"
This command is for mining karbowanec witch is/was hot at the moment of this post.

3. Conclusion
A few extra thing:
Every coin has its own wallet and you will need to install it.
If you have some other bug, first try adding "sudo" to the beginning of the command. This will run it as superuser. If that doesnt work just try googling it.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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

You published your First Post
You made your First Vote
You got a First Vote

Click on any badge to view your own Board of Honor 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!

STOP

Notifications have been disabled. Sorry if I bothered you.
To reactivate notifications, drop me a comment with the word NOTIFY

Congratulations @leterax! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!