October 10, 2003

Getting to BOINC

I've recently become interested in the Berkeley Open Infrastructure for Network Computing (BOINC) as an alternative to dedicated computing, e.g., Beowulf. In order to set it up though, we needed a Linux server. Here's what I did:

  1. Installed SUlinux 9
  2. Check installed software against BOINC software prerequisites
    [root@brainwave root]# gcc -v
    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
    Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
    Thread model: posix
    gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

    [root@brainwave root]# mysql -V
    mysql Ver 12.21 Distrib 4.0.14, for intel-linux (i686)

    [root@brainwave root]# httpd -v
    Server version: Apache/2.0.40
    Server built: Jul 31 2003 11:36:14

    [root@brainwave root]# php -v
    4.2.2

    [root@brainwave root]# python -V
    Python 2.2.2

  3. Download the python module MySQLdb 0.9.2
    [root@brainwave rpm]# wget http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2-1.i386.rpm
    --10:30:57-- http://easynews.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-0.9.2-1.i386.rpm
    => `MySQL-python-0.9.2-1.i386.rpm'
    Resolving easynews.dl.sourceforge.net... done.
    Connecting to easynews.dl.sourceforge.net[140.99.102.30]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 100,087 [application/x-rpm]

    100%[====================================>] 100,087 247.45K/s ETA 00:00

    10:30:57 (247.45 KB/s) - `MySQL-python-0.9.2-1.i386.rpm' saved [100087/100087]

Ahh, hey, that was all wrong. I had all these files because of AFS. /usr/pubsw actually belongs to Stanford, which is why I had problems. In fact, I need to reinstall quite a lot of things. I was able to remove the AFS pubsw files using

apt-get remove sulinux-afsconfig
Now, as expected, I do not have MySQL at all. Interestingly, it still looks for mysql at /usr/pubsw/bin/mysql. Maybe if I reboot? Yup, that did the trick. Now what I need to do is install MySQL, recompile PHP, etc.

Update
You do not need to remove the afsconfig... so if you did, put it back in order by doing

apt-get install sulinux-afsconfig

Posted by torque at October 10, 2003 11:04 AM | TrackBack
Comments
Post a comment









Remember personal info?