It is a bit late creating a guide for mining Bitcoins using GPUs, with the block rewards halving on November 28 and the specialized mining hardware being brought online since January 31. But I’m going to do this anyway.
This guide is for creating an Ubuntu 12.10 (64bit) bitcoin miner, using an ATI graphics card.
Step 1: install Ubuntu Go to Ubuntu.com and download a copy. Installing this should not be much of a problem.
Step 2: update Because Ubuntu 12.10 is not exactly stable out of the box, you may want to update it as soon as possible, and before doing anything else. Open up a terminal window, and type the following:
sudo apt-get update
sudo apt-get upgrade
After this, reboot.
Step 3: install linux headersBecause the ATI drivers won’t install properly without the Linux headers being installed, we need to install those.
sudo apt-get install linux-headers-$(uname -r)
Step 4: Install the proprietary Catalyst drivers
Now that the Linux headers are installed, it’s time for the actual graphics drivers
tar -xzf AMD-APP-SDK-v2.8-lnx64.tgz
sudo ./Install-AMD-APP.sh
reboot
Step 6: install JDK6
Since we’re going to install a Java program, and we will need to build it, we need the JDK. In my opinion, JDK7 is still not stable enough, so we’ll be installing JDK6.
cd ~
mkdir diablo
cd diablo
git clone https://github.com/Diablo-D3/DiabloMiner.git
The launch4j plugin has to be removed here.
Step 9: prepare to compile
The build process of DiabloMiner uses launch4j, which breaks the build on Linux. So we need to remove this. Open the pom.xml file, and remove the plugin launch4j