Bitcoin mining on Ubuntu Nvidia
Bitcoin Mining on Ubuntu 11.04 "Natty" with poclbm and ATI
Updated 6/19/2011 - updated bitcoin app version to 0.3.23, simplified bitcoin setup directions
Updated 6/8/2011 - updated example app versions, clarified use of pools, clarified use of bitcoin standalone app, path cleanup, added link to headless mining guide
1. Introduction
Recently, I got interested in the new peer-to-peer digital currency, Bitcoin (read about it all about it at bitcoin.org if you're not familiar with it yet). Having decided to make use of my idling ATI graphics card for some bitcoin mining, I was able to cobble together a mining setup on Ubuntu 11.04 "Natty Narwhal" without too much trouble. It uses a standard miner app "poclbm", the Python OpenCL Bitminer.
Note that I already had a working official, ATI 'fglrx' graphics card driver package installed, so you'll want that taken care of before starting. I am also running the 32-bit version of Ubuntu; if you are on 64-bit, you can follow the 64-bit specific directions here (tested on 64-bit systems).
2. Install Ubuntu packages
Install required packages:
sudo aptitude install python-setuptools python-numpy \
subversion g++ libboost-all-dev
3. Install Bitcoin
Get the latest Bitcoin distribution, (0.3.23 as of this writing), unpack it to ~/bitcoin-0.3.23/, and set permissions.cd ~ wget tar xzvf bitcoin-0.3.23-linux.tar.gz chmod +x bitcoin-0.3.23/bin/*/bitcoin*
Configuring bitcoin: cd ~ mkdir -p .bitcoin
Make up user/password here if you like:echo "rpcuser=user" >> .bitcoin/bitcoin.conf echo "rpcpassword=password" >> .bitcoin/bitcoin.conf
Now we can run bitcoin in server mode, ~/bitcoin-0.3.23/bin/32/bitcoin -server &
And wait...and wait...hours...until the current block chain is downloaded and verified by your bitcoin client to catch up with the rest of the network. In the meantime, you can continue installing the rest of the software required for mining.
4. Install python-jsonrpc library
Install python-jsonrpc from official Subversion repository:cd
Source: sectio-aurea.blogspot.com
Related posts:
- Bitcoin mining Ubuntu Natty
- Bitcoin Mining is stupid
- Bitcoin mining flags Nvidia
- Bitcoin Mining on Android
- Bitcoin mining on Ubuntu 12.04