First create your account and worker on the pool you want to join.
If you need to install git:
sudo apt-get update sudo apt-get install git
Download, compile, install from source code:
mkdir ~/source cd ~/source git clone https://github.com/decred/cgminer.git
If you need to install some extra libraries, here is what I used:
sudo apt-get install autoconf sudo apt-get install libc-bin sudo apt-get install libtool sudo apt-get install libncurses-dev sudo apt-get install curl sudo apt-get install libcurl4-openssl-dev sudo apt-get install opencl-headers sudo apt-get install ocl-icd-opencl-dev
Or all together:
sudo apt-get install autoconf libc-bin libtool libncurses-dev curl libcurl4-openssl-dev opencl-headers ocl-icd-opencl-dev
At this point you should have a newly created folder “cgminer”
cd cgminer ./autogen.sh --enable-opencl make sudo make install
Test cgminer (hit “q” when your done testing):
/usr/local/bin/cgminer --blake256 --benchmark
Start mining:
/usr/local/bin/cgminer --blake256 --intensity d -o http://dcr.suprnova.cc:9110 -u YourPoolUser.YourPoolWorker -p YourPoolPassword -o http://dcr.pool.mn:4722 -u YourPoolUser.YourPoolWorker -p YourPoolPassword
You may want to further configure your cgminer.conf by adding/updating these settings in ~/.cgminer/cgminer.conf:
"pools" : [ { "url" : "http://dcr.suprnova.cc:9110", "user" : "YourUserName.YourWorkerName", "pass" : "x" } ] , "api-allow" : "W:192.168.1.###", "api-listen" : true, "expiry" : "30", "queue" : "0", "scan-time" : "15",
To start mining on reboot, add this command to your “Startup Applications:
gnome-terminal -e '/home/reynold/bin/run_cgminer_decred' --geometry=80x40+80+40
As a NOOB, this post is not fully useable.
I had to create this dir since I never used it before
cd ~/source
I had to install git since it was not previously installed.
git clone https://github.com/decred/cgminer.git
I had to create this directory too.
cd cgminer
being that I am in the newly created directoy, I could not execute the following command since I am in an empty directory.
./autogen.sh –enable-opencl
make
make install
Ok, I updated the main post:
Now that you are in the source folder and have git installed:
This should create a cgminer folder for you.
I am pleased with the new instructions! I have it installed and I am able to run it at least the –benchmark part. I will now go back and setup the account and try and get it started.
Pingback: Install opencl and drivers for Radeon R9 280x on Ubuntu | ReynoldTech Blog
Hello,
Thanks a lot, it worked for me.
I’d like to see the GPU temperature in cgminer, I know we have to use the AMD ADL SDK9, but I don’t know how to do it.
Thanks for your help 🙂
Adrien,
First you’ll probably have to install the opencl and drivers:
http://www.reynoldtech.com/install-opencl-and-drivers-for-radeon-r9-280x-on-ubuntu/
Then if you want to overclock, check this. It shows you how to get temperature also:
http://www.reynoldtech.com/overclocking-the-r9-280x-on-ubuntu/
Well, I got down to the extra libraries and ran into a bit of trouble. Got down to install ocl-icd-opencl-dev and Ubuntu came back and said it could not find them. I found a website that said to install OPENCL. Did that and ran into trouble…but not sure if it’s related.
Let me know if I did right with the alternamtive or if you have a better idea of what to do pertaining to “ocl-icd-opencl-dev”