Changes between Version 4 and Version 5 of centosSetup

Show
Ignore:
Timestamp:
04/17/09 15:57:25 (10 years ago)
Author:
dee (IP: 152.54.6.155)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • centosSetup

    v4 v5  
    33The development platform used by the GENI-ORCA platforn is [http://www.centos.org 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. 
    44 
    5 == CentOS Installation == 
     5== ''CentOS Installation'' == 
    66=== Configuring Partitions === 
    77Here 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. 
     
    4444}}} 
    4545 
     46  ''yum install jpackage*'' - This will upgrade ant. 
    4647 
    47  * Java version 1.5.x  
    48    * `java -version` and `$JAVA_HOME/bin/java -version` should both show a 1.5.0.x revision. 
    49 {{{ 
    50 java version "1.5.0_16" 
    51 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) 
    52 Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing) 
    53 }}} 
    54  * Ant 1.7.0+ 
    55    * The version shipped with Debian etch is known *NOT* to work. 
    56    * The version shipped with Mac OS 10.4 is known *NOT* to work. 
    57    * `ant -version` and `$ANT_HOME/bin/ant -version` should both show something like 
    58 {{{ 
    59 Apache Ant version 1.7.0 compiled on August 25 2008 
    60 }}} 
    61  * Maven 2.0.6+  
    62    * `mvn -version` and `$M2_HOME/bin/mvn -version` should both show something like 
    63 {{{ 
    64 Maven version: 2.0.6 
    65 }}} 
    66  * [http://maven.apache.org/ant-tasks/index.html Maven tasks for ant] (installed in your ant's lib directory) 
    67    * If these are installed, you should see something like the following:  
    68 {{{  
    69 $ ant -diagnostics | grep maven-ant-tasks 
    70 maven-ant-tasks-2.0.9.jar (1018394 bytes) 
    71 java.class.path : /usr/share/ant/lib/ant-launcher.jar:/Users/sayler/.ant/lib/maven- 
    72 ant-tasks-2.0.9.jar:/usr/share/ant/lib/ant-jai.jar:/usr/share/ant/lib/ant-jmf.jar: 
    73 /usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share 
    74 /ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib 
    75 /ant-testutil.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant.jar: 
    76 /usr/share/ant/lib/xercesImpl.jar:/usr/share/ant/lib/xml-apis.jar 
    77 $ 
    78 }}} 
    79  * Subversion client with ''https'' support  
    80    * You should have a ra_dav module with https support as follows 
    81 {{{ 
    82 $ svn --version 
    83 svn, version 1.4.4 (r25188) 
    84    compiled May 31 2008, 03:45:57 
     48  ''yum install maven*'' - Installs maven 2.0.7, we'll upgrade maven later. 
    8549 
    86 Copyright (C) 2000-2006 CollabNet. 
    87 Subversion is open source software, see http://subversion.tigris.org/ 
    88 This product includes software developed by CollabNet (http://www.Collab.Net/). 
     50  ''alternatives --config java'' - Choose the '''jre-1.5.0-sun''' version of java. 
    8951 
    90 The following repository access (RA) modules are available: 
     52  In a scratch directory retrieve the 2.0.10 version of maven ''wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.0.10-bin.tar.gz'' 
    9153 
    92 * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. 
    93   - handles 'http' scheme 
    94   - handles 'https' scheme 
    95 * ra_svn : Module for accessing a repository using the svn network protocol. 
    96   - handles 'svn' scheme 
    97 * ra_local : Module for accessing a repository on local disk. 
    98   - handles 'file' scheme 
    99 $ 
    100 }}} 
     54  Extract the contents ''tar xvfz apache-maven-2.0.10-bin.tar.gz''