So I've had a text file I've been using when setting up new miners under CentOS 5.5, and I figured I'd share it with the community. Everyone seems to be using Ubuntu, which is great, but I've only run into problems when trying to get everything configured in Ubuntu. For me, CentOS has been much easier than Ubuntu, so here goes:
First off, when I install CentOS I choose only the
Server GUI package group which I then customize by clicking the
Customize Now radio button. I then deselect everything under the
Servers group, and make sure I select
Development Libraries and
Development Tools (or something like that). This guide starts off after logging into the system after a fresh install.
Install ATI Drivers: wget
http://www2.ati.com/drivers/linux/ati-driver-installer-11-4-x86.x86_64.runsh ati-driver-installer-11-4-x86.x86_64.run
<go through the install process>
aticonfig --adapter=all --initial --force
Install and configure AMD APP SDKwget
http://download2-developer.amd.com/amd/APPSDK/AMD-APP-SDK-v2.4-lnx64.tgztar -xf AMD-APP-SDK-v2.4-lnx64.tgz
cd AMD-APP-SDK-v2.4-lnx64
cp lib/x86_64/*lib64/
cp icd-registration.tgz
cd
tar -xf icd-registration.tgz
rm -f icd-registration.tgz
cd ~
echo AMDAPPSDKROOT=/root/AMD-APP-SDK-v2.4-lnx64 >> .bashrc
echo AMDAPPSDKSAMPLESROOT=/root/AMD-APP-SDK-v2.4-lnx64 >> .bashrc
echo LD_LIBRARY_PATH=/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 >> .bashrc
Install Python 2.7wget
http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgztar -xf Python-2.7.1.tgz
cd Python-2.7.1
./configure
make && make install
cd ~
Install NumPywget
http://downloads.sourceforge.net/project/numpy/NumPy/1.6.0b1/numpy-1.6.0b1.tar.gztar -xf numpy-1.6.0b1.tar.gz
cd numpy-1.6.0b1
python setup.py install
cd ~
Install PyOpenCLwget
http://pypi.python.org/packages/source/p/pyopencl/pyopencl-2011.1beta3.tar.gztar -xf pyopencl-2011.1beta3.tar.gz
cd pyopencl-2011.1beta3/
python configure.py \
--cl-inc-dir=/root/AMD-APP-SDK-v2.4-lnx64/include \
--cl-lib-dir=/root/AMD-APP-SDK-v2.4-lnx64/lib/x86_64 \
--cl-libname=OpenCL
python setup.py install
cd ~
Install JSON-RPCsvn co
http://svn.json-rpc.org/trunk/python-jsonrpccd python-jsonrpc/
python setup.py install
cd ~
Install Gitwget
http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmrpm -i epel-release-5-4.noarch.rpm
yum install git -y
Clone latest poclbmgit clone git://github.com/m0mchil/poclbm.git
-or-
git clone
https://github.com/m0mchil/poclbm.gitREBOOTreboot
TA DA! After you reboot, you should be able to run poclbm and start mining! Please let me know if there's anything I can change here to improve this guide, or if anyone has any problems when using this. Using this method I'm currently able to mine at 375 Mh/s on a 5870 clocked @ 900 MHz.