Version 1 (modified by dee, 10 years ago)

--

Creating the GENI-ORCA CentOS Development Platform

The development platform used by the GENI-ORCA platforn is CentOS 5.2, which is a growing Enterprise Open Source Linux Distribution. Below is documented the steps we used to create our development machines. Based on these steps other platforms such as Ubuntu could be configured with minor modifications to the procedure. However, only the CentOS platform is documented step by step as a development platform example.

CentOS Installation

Configuring Partitions

Here is the current partition layout for our development boxes' primary volumes. The partitions are managed by LVM, which allows us to expand them as needed. From experience, making '/' at 10GB will probably eliminate any need to modify partitions at a later time.

  • '/': 5GB
  • '/home': 100GB
  • '/var/': 10GB
  • '/opt': 10GB
  • Java version 1.5.x
    • java -version and $JAVA_HOME/bin/java -version should both show a 1.5.0.x revision.
      java version "1.5.0_16"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
      Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
      
  • Ant 1.7.0+
    • The version shipped with Debian etch is known *NOT* to work.
    • The version shipped with Mac OS 10.4 is known *NOT* to work.
    • ant -version and $ANT_HOME/bin/ant -version should both show something like
      Apache Ant version 1.7.0 compiled on August 25 2008
      
  • Maven 2.0.6+
    • mvn -version and $M2_HOME/bin/mvn -version should both show something like
      Maven version: 2.0.6
      
  • Maven tasks for ant (installed in your ant's lib directory)
    • If these are installed, you should see something like the following:
      $ ant -diagnostics | grep maven-ant-tasks
      maven-ant-tasks-2.0.9.jar (1018394 bytes)
      java.class.path : /usr/share/ant/lib/ant-launcher.jar:/Users/sayler/.ant/lib/maven-
      ant-tasks-2.0.9.jar:/usr/share/ant/lib/ant-jai.jar:/usr/share/ant/lib/ant-jmf.jar:
      /usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share
      /ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib
      /ant-testutil.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant.jar:
      /usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/xml-apis.jar
      $
      
  • Subversion client with https support
    • You should have a ra_dav module with https support as follows
      $ svn --version
      svn, version 1.4.4 (r25188)
         compiled May 31 2008, 03:45:57
      
      Copyright (C) 2000-2006 CollabNet.
      Subversion is open source software, see http://subversion.tigris.org/
      This product includes software developed by CollabNet (http://www.Collab.Net/).
      
      The following repository access (RA) modules are available:
      
      * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
        - handles 'http' scheme
        - handles 'https' scheme
      * ra_svn : Module for accessing a repository using the svn network protocol.
        - handles 'svn' scheme
      * ra_local : Module for accessing a repository on local disk.
        - handles 'file' scheme
      $