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.
Hi! I followed your instructions on Ubuntu 18.10. I am getting an error when I am trying to mine:
error while loading shared libraries: libcudart.so.9.1: cannot open shared object file: No such file or directory
Any idea why this is and how to fix it?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit