Easy Ubuntu python OpenCL mining setup

<< < (8/8)

Friar:
I've gone through this installation process, but I seem to be spending most of the time downloading blocks.

Also, is there somewhere that defines what the command line arguments are? Can I use my GPU and both CPU cores?  How can I look in my wallet?

ThiagoCMC:
Guys,

 I would like to update this thing a bit, look:

 Quote

Do not use Ubuntu 11.04 with NVidia cards! The poclbm.py/python process will consume all of your CPU for nothing. This behavior does not exist in Ubuntu 10.10.

 Quote

The poclbm in Ubuntu 10.10 does not consume 100% of CPU, but Xorg does if you try to use the mining machine as a daily Desktop...  :-\

 New procedure:

Code:

cd ~

sudo add-apt-repository ppa:stretch/bitcoin
sudo apt-get update
sudo apt-get install python-pyopencl subversion git-core bitcoin

svn checkout http://svn.json-rpc.org/trunk/python-jsonrpc
cd ~/python-jsonrpc/
sudo python setup.py install
cd ~

mkdir ~/.bitcoin
echo "rpcuser=user" > .bitcoin/bitcoin.conf
echo "rpcpassword=password" >> .bitcoin/bitcoin.conf

bitcoin -server &

git clone https://github.com/m0mchil/poclbm.git
cd ~/poclbm
python poclbm.py -d 0 --user user --pass password


 You can change the command:

Code:

bitcoin -server &

 to:

Code:

bitcoind -daemon

 ...if you do not want the GUI interface of Bitcoin client.

 Advantages of this approach:

 1- To upgrade Bitcoin client, just run:

Code:

sudo apt-get update
sudo apt-get upgrade


 2- To upgrade poclbm, just run:

Code:

cd ~/poclbm
git pull


 3- To upgrade python-jsonrpc, run:

Code:

cd ~/python-jsonrpc/
svn up
# If there is a new version:
sudo python setup.py install
cd ~

 That's it!

Cheers!
Thiago

Zenitur:
http://svn.json-rpc.org/trunk/python-jsonrpc - Error 404.

P.S. Ubuntu sucks.

Navigation

[0] Message Index

[*] Previous page