OpenCL Bitcoin mining on Ubuntu 10.04 LTS

There are lots of guides for getting bitcoin openCL mining enabled on Ubuntu 10.10. But it’s also possible to get it working on 10.04 LTS.

Sorry for the messed up layout. But you’ll probably be copy/pasting anyway 😉

Step 1: Install PyOpenCL
Add ppa:fajran/opencl to Software Sources
Run the command

sudo apt-get install python-pyopencl

Step 2: Get Bitcoin and the OpenCL miner
Run the following script:

sudo apt-get install subversion
wget http://iweb.dl.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.3.19/bitcoin-0.3.19-linux.tar.gz
tar xvf bitcoin-0.3.19-linux.tar.gz
svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
cd python-jsonrpc/
sudo python setup.py install
cd ..
mkdir .bitcoin
echo "rpcuser=un" > .bitcoin/bitcoin.conf
echo "rpcpassword=pw" >> .bitcoin/bitcoin.conf
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.cl
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/BitcoinMiner.py
wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/poclbm.py

Step 3: get sha256.py

wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/sha256.py

Step 4: run!

~/bitcoin-0.3.19/bin/64/bitcoin -server&
python poclbm.py -d 0 --user un --pass pw

This also works for pooled mining

Sources:
http://wiki.tiker.net/PyOpenCL/Installation/Linux/Ubuntu
http://forum.bitcoin.org/?topic=2636

6 thoughts on “OpenCL Bitcoin mining on Ubuntu 10.04 LTS

  1. I absolutely love your blog and find a lot of your post’s to be precisely what I’m looking for. Would you offer guest writers to write content for yourself? I wouldn’t mind composing a post or elaborating on a lot of the subjects you write regarding here. Again, awesome blog!
    My website is what causes acne

  2. I have a problem with the overall premise of your article but I still think its really informative. I really like your other posts. Keep up the great work. If you can add more video and pictures can be much better. Because they help much clear understanding. 🙂 thanks
    My site is on Stock investment

  3. Pingback: Continue Reading
  4. Terrific work! That is the type of info that are supposed to be shared across the net.
    Disgrace on Google for not positioning this post upper!
    Come on over and consult with my web site . Thanks =)

  5. You actually make it seem so easy with your presentation but I find this matter to be really something that I
    think I would never understand. It seems too
    complicated and extremely broad for me. I am looking forward
    for your next post, I will try to get the hang of it!

Leave a Reply

Your email address will not be published. Required fields are marked *