Thursday, July 5, 2007

Bizgres (Greenplum) on EC2

First cab of the rank to build was a greenplum or bizgres EC2 image.

I was following the install from source documentation from Greenplum's site, using a base CentOS 4 public EC2 image.

Java 1.5 SDK/JDK wasn't installed, so that was the first thing. I unfortunately found a bad lead in the form of this wiki on JavaOnCentOS.

In the end i ditched the rpmbuild method, ran the install file jdk-1_5_0_12-linux-i586.bin and created a symbolic link to /usr/local/bin.

The next thing missing from the doco was you need to set the JAVA_HOME environment variable and that PostgreSQL needs the devel package of both readline and zlib to build ok.

So 2 hours later I have bizgres installed on EC2. The actual ant build took 10 minutes.

I will write up a recipe/HOW-TO based on my screen dumps from putty over the weekend.

The next thing is to actually run the demo scripts.

Have Fun

Paul

No comments: