Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dspace 1.6.x on Red Hat Enterprise Linux 5 (RHEL5)

Info

This build documentation

Note

Hi Dspace community, I'll be adding documentation here that outlines how to get install Dspace (1.6.x up and running 2) on a Red Hat Enterprise Linux 5 (RHEL5 system emphasizing sustainability. (No small accomplishment.) The documentation is complete, but I need to translate from our internal documentation and wiki format to the format supported here. In the mean time feel free to email me any questions regarding this documentation or our build.  --- Jamin Ragle, Systems Administrator, University of New Mexico Libraries) server with an emphasis on sustainability from the system administrative perspective.

Goals:

  1. Use package management for all requisite software, save the Dspace code itself.
  2. Automatic updates must work.
  3. Dependency problems between RHEL5 and the JPackage 5 repository must be resolved so it doesn't prevent the previous step. (auto-updates)
  4. Remove the "dspace" user from the system and run the service as the existing user "tomcat".

The hardest issues to resolve were finding the prerequisite packages for Maven2 and Ant 1.7 (and resolving the dependencies of these packages) which are not in RHEL repos, AND still use RPMs to maintain the packages. The following is my attempt to use an external repository (JPackage) with RHEL5 and the only unmaintained packages are Dspace itself and possibly the Java JAI.

Panel

Todo/Problems to resolve in this document:

  • Figure out how to do footnotes in Confluence.
  • Figure out how to do hover-over notes.
  • Figure out how to collapse chunks of quoted text. (for output of commands

...

  • )
Assumptions
  • Standard RHEL5 (32-bit) server - This build/document assumes you are running RHEL5_, but it could possibly be adapted to a CentOS5 system._
    •  RHEL Supplementary channel (v. 5 for 32-bit x86) - This is what provides a source for Sun Java updates. It is assumed you have a valid Red Hat Network account that you can manage your systems.
  • Package Management - All required software for DSpace is provided and managed using package management, in our case RPM's. It is assumed software from external repositories used get regular updates, are trusted as secure, and all packages are maintained regularly.
Check and Install Pre-requisite software

Install

Panel

Official

Info

Goals: This build is targeted for resolving the dependency problems of the past between RHEL and JPackage, remove the 'dspace' user, and to install Dspace 1.6 .2.

The hardest issues to resolve are finding the prerequisite packages for Maven2 and Ant 1.7, resolving the dependencies, AND still use RPMs to maintain the packages. The following is my attempt to use an external repository (JPackage) with RHEL5 and the only unmaintained packages are Dspace itself and possibly the Java JAI.

...

Install Documentation: http://www.dspace.org/1_6_0Documentation/ch03.html
(for reference purposes and the instructions I used to write this document)

Login as root if you are not already.

...