>> (p.1)
    Author Topic: Easy Ubuntu python OpenCL mining setup  (Read 140183 times)
    Syke (OP)
    Legendary
    *
    Offline Offline

    Activity: 3878
    Merit: 1193


    View Profile
    January 06, 2011, 06:32:08 AM
     #1

    Here's the quick instructions I use when setting up a new box. Nothing fancy, but it works. From a bare box to a mining machine.

    1. Install Ubuntu 10.10.
    2. Install the proprietary video driver. The regular Nvidia driver in the repo works fine. I have not tested the ATI driver.
    3. Install the python stuff. Paste the following commands in a Terminal:
    Code:
    sudo apt-get install python-pyopencl 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
    ~/bitcoin-0.3.19/bin/64/bitcoin -server&
    python poclbm.py -d 0 --user un --pass pw

    Change the username and password if you are worried about someone connecting to your box.

    Buy & Hold
Page 1
Viewing Page: 1