Title: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: l33 on June 23, 2011, 11:59:01 AM I have found a bunch builds on the net but did not really find one that work for me so I used one and setup my own.
Bitcoin mining on Ubuntu 11.04 64bit (natty) with ATI card , python, and poclbm miner I started Bitcoin mining on my core i7 with a 5750 ati video card. Here is the way I setup the computer. I used this link to get 95% of my information: http://sectio-aurea.blogspot.com/2011/05/bitcoin-mining-on-ubuntu-1104-natty.html. Send him a few coin if you can. It is really a good post. I did have some issues with his setup on Ubuntu 11.04 64bit that is why I am making this. So here we go: Install required packages: sudo apt-get install python-setuptools python-numpy subversion g++ libboost-all-dev Get the latest Bitcoin distribution cd ~ Download the new version from here: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/bitcoin-0.3.23-linux.tar.gz/download Untar Bitcoin tar xzvf bitcoin-0.3.23-linux.tar.gz chmod +x bitcoin-0.3.23/bin/32/bitcoin* Install python-jsonrpc from official Subversion repository: cd ~ svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc cd python-jsonrpc/ sudo python setup.py install Grab the AMD ATI SDK from the AMD website and install it: cd ~ wget http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgz tar xvzf AMD-APP-SDK-v2.4-lnx64.tgz Adding lines to your .bashrc file echo export AMDAPPSDKROOT=${HOME}/AMD-APP-SDK-v2.4-lnx64/ >> ~/.bashrc echo export AMDAPPSDKSAMPLESROOT=${HOME}/AMD-APP-SDK-v2.4-lnx64/ >> ~/.bashrc echo 'export LD_LIBRARY_PATH=${AMDAPPSDKROOT}lib/x86_64:${LD_LIBRARY_PATH}' >> ~/.bashrc source ~/.bashrc cd / sudo tar xfz $AMDAPPSDKROOT/icd-registration.tgz Install pyopencl from source on Ubuntu 11.04 64 bit cd ~ wget http://pypi.python.org/packages/source/p/pyopencl/pyopencl-0.92.tar.gz#md5=0680f7272fe3ab5a3bcb0b6cfbd74994 tar xzvf pyopencl-0.92.tar.gz cd pyopencl-0.92 ./configure.py --cl-inc-dir=${AMDAPPSDKROOT}include --cl-lib-dir=${AMDAPPSDKROOT}lib/x86_64 Build pyopencl: make sudo make install 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 Get poclbm modules: 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 wget --no-check-certificate https://github.com/m0mchil/poclbm/raw/master/sha256.py Now we can run bitcoin in server mode, ~/bitcoin-0.3.20.2/bin/32/bitcoin -server & The poclbm command to mine in a pool looks like this: python poclbm.py -d 0 --host=pool hostname --port=8332 --user=worker --pass=worker password The pool I use is deepbit. Let me know what you ll think. This is the link to my site where this post is at. If this is not allowed on the board, let me know and i'll remove the link.: http://www.the-server-admin.com/linux/34-bitcoin-mining-on-ubuntu-11-04-64bit-natty-with-ati-card-,-python,-and-poclbm-miner.html Title: Re: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: Bloodys on June 23, 2011, 04:50:59 PM It is much easier to just download and try with LinuxCoin, especially if Linux is not your thing.
But thanks for your efforts, I'll try with your guide as well ;) Title: Re: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: Rob P. on June 23, 2011, 06:44:43 PM You also didn't look around terribly hard:
http://forum.bitcoin.org/index.php?topic=9239.0 Title: Re: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: whopper on June 23, 2011, 07:10:43 PM the info on fglrx installation is missing
Title: Re: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: l33 on June 23, 2011, 07:54:14 PM If you are using Linux I am assuming you know what you are doing and have install your video drivers. But I should add the driver part in there. But that is all I did to get this working on my system.
Title: Re: bitcoin Mining on Ubuntu 11.04 64bit Natty With ATI Card Python, and Poclbm Post by: l33 on June 23, 2011, 08:07:03 PM You also didn't look around terribly hard: http://forum.bitcoin.org/index.php?topic=9239.0 Rob your install seems to have more to it. I was looking for a simple install for people. I am just getting started with mining so maybe ill end up like that. Thanks for the input. |