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)

{
Note
}

Hi

Dspace

community,

I'll

be

adding

documentation

here

that

outlines

how

to

get

Dspace

1.6.x

up

and

running

on

a

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 {note} h2. Install{panel} *Official Dspace

Libraries

Install
Panel

Official Dspace 1.6

...

Install

...

Documentation:

...

http://www.dspace.org/1_6_0Documentation/ch03.html

...


(

...

for

...

reference

...

purposes

...

and

...

the

...

instructions

...

I

...

used

...

to

...

write

...

this

...

document

...

)

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.
Info
{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.

{info} h5. Check and Install

Check and Install Pre-requisite

...

software

...

Login

...

as

...

root

...

if

...

you

...

are

...

not

...

already.

...

  • Requirement - Perl (no version listed.) – RHEL5 currently provides perl 5.8.8.

...

  • and

...

  • was

...

  • Installed

...

  • by

...

  • our

...

  • default

...

  • RHEL5

...

  • build.

...

  • Requirement

...

  • -

...

  • Sun

...

  • Java

...

  • 1.5

...

  • or

...

  • better,

...

  • we

...

  • will

...

  • install

...

  • Sun

...

  • Java

...

  • 1.6

...

  • -

...


  • (RHEL5 currently provides Sun Java 1.5

...

  • &

...

  • 1.6

...

  • through

...

  • the

...

  • RHEL

...

  • Supplementary

...

  • (v.

...

  • 5

...

  • for

...

  • 32-bit

...

  • x86)

...

  • channel)

...

    1. Requires RHEL Supplementary (v.

...

    1. 5

...

    1. for

...

    1. 32-bit

...

    1. x86)

...

    1. channel

...

    1. to

...

    1. get

...

    1. access

...

    1. to

...

    1. the

...

    1. Sun

...

    1. Java.

...


    1. This

...

    1. is

...

    1. done

...

    1. through

...

    1. the

...

    1. web

...

    1. interface

...

    1. @

...

...

    1. Install

...

    1. Sun

...

    1. Java

...

    1. 6:

...

    1. Code Block

...

    1. yum install java-1.6.0-sun java-1.6.0-sun-devel -y

...

    1. STUB to insert output
Note
titleNotice here

Notice here, installing Java the jpackage-utils 1.7 is also installed which is maintained by Red Hat. Later on it will be replaced by the JPackage maintained version and can/will cause some problems after we install and start using the JPackage repo.

  • Requirement - Relational Database, PostgreSQL 7.4 or later - (RHEL5 currently provides postgres 8.1.18(default)

...

  • and

...

  • 8.4

...

  • is

...

  • available

...

  • too.)

...

    1. Install

...

    1. Postgresql:

...

    1. Code Block

...

    1. yum install postgresql-server -y

...

    1. This will install the postgresql dependency.
Tip
titleClean Install

We have a Clean install, using only RHEL provided packages, up to this point.

Install and Configure the JPackage repository

(Ok, this is somewhat dirty and I don't know if this work work in a sustainable way, but here goes the experiment.)

Objective Statement: Only packages that are specifically needed, either explicitly or to resolve a dependency on JPackage will be used, otherwise the RHEL channel provided package will be used.((I go into detail why I didn't use _yum-priorities_ in my more ideal install attempt:#alternative_install_methodyum-protectbase

...

.))

...