Version 5 (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

Choosing Packages

Using the default packages from the installer should be sufficient. Double check that the Java 1.5.x package is being installed.

Configuring yum

Configuring the yum package manager is worth the effort. The easiest way to do this is to go to the JPackage website and get the URL for the template repository file. Install the file in the /etc/yum.repos.d directory and edit it to set the version of JPackage needed (5.0 in our case). Also enable the RHEL repository while leaving the generic repository enabled. Here are the steps we used logged in as root:

cd /etc/yum.repos.d


edit the jpackage17.repo file replacing the release=1.7 text with release=5.0. Also the entry under for jpackage-rhel should have enabled=0 replaced with enabled=1. The final relevant entries should look like:

name=JPackage (free), generic


name=JPackage (free) for Red Hat Enterprise Linux $releasever

yum install jpackage* - This will upgrade ant.

yum install maven* - Installs maven 2.0.7, we'll upgrade maven later.

alternatives --config java - Choose the jre-1.5.0-sun version of java.

In a scratch directory retrieve the 2.0.10 version of maven wget

Extract the contents tar xvfz apache-maven-2.0.10-bin.tar.gz