ConfigureAmazonLinuxAMI

From OPeNDAP Documentation
Revision as of 06:07, 30 January 2013 by Ndp (talk | contribs) (Initial configuration)

<< back to HowTo Guides

1 How to configure an Amazon Linux AMI for EC2 to build Hyrax

This describes how to set up a vanilla Amazon Linux AMI virtual machine so that we can build the Hyrax data server.

2 Amazon Linux AMI versions

These instructions have been amended to cover:

  • Amazon Linux AMI 2012.03

3 Initial configuration

Set up general build stuff that you need:

  • yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
  • yum install ant
  • yum install make
  • yum install subversion
  • yum install gcc-c++
  • yum install flex
  • yum install bison
  • yum install curl-devel
  • yum install libxml2-devel
  • yum install libjpeg-devel
  • yum install zlib-devel
  • yum install readline-devel
  • yum install libuuid-devel
  • yum install openssl-devel

3.1 Autotools

  • download the latest versions of autoconf, automake and libtool
  • ./configure, make, make install

4 Hyrax specific configuration

Set up things that are specific to Hyrax

It's best to use as much of the RPM 'ecosystem' as possible because this is what will be on other people's computers; using newer stuff, like the lastest HDF5 library is only going to cause incompatibilities. But to do that for Hyrax, you need to get beyond the stock set of repositories that yum searches. Unfortunatley it looks like Amazon has their own version of the EPEL package and it does not contain HDF or Netcdf binaries...

4.1 Other dependencies

  • yum install libicu-devel