Personal tools
  • We're Hiring!

You are here: Home Documentation Previous versions OME Server Installation Platform-specific Red Hat

Red Hat

Red Hat / Fedora

Note that OME is known to work well on Fedora Core (FC) 1, 3, 4 and 6. FC 2 is known not to work because of broken Perl/C library bindings as discussed here. FC2 is relegated to legacy status and is no longer supported, so upgrading to a more modern version is the recommended course of action.

The currently recommended version is Fedora Core 6.
> Find a mirror near you for downloading RPMs or ISOs (disk images): <p>

This addendum is based on package names from Fedora Core 6. If you're running a different release, most, if not all, of the package names will be the similar but may not be the same. You will need to search for equivalents on the release servers.

It is recommended that you use RedHat's package manager to install the core packages and libraries that OME requires. It is also recommended that you install using the latest packages from RedHat's updates tree and/or the latest Fedora packages:

OME will not work on Fedora Core 3 unless Perl is installed from the updates tree!

SELinux Warning

Later versions of Fedora Core and Red Hat Enterprise 6 may have SELinux enabled. Unless you are a sophisticated administrator who understands the impact of SELinux when used with OME please turn it off. If you run your OME install with SELinux enabled, you do so at your own risk. We do not offer installation support for systems with SELinux enabled. Information about SELinux in general and how to turn it off is here in the SELinux FAQ.

Core package install

On a Fedora mirror, RPMS are organized as follows:

  • (CoreVersion)/(Architecture)/os/Fedora/RPMS/
RPMS for Fedora Core 6 on i386 are, for example, in the following directory:

You'll want to install the following RPM's (extraneous version-related naming has been left out for brevity; the development packages are required):

  • postgresql
  • postgresql-devel
  • postgresql-docs
  • postgresql-server
  • postgresql-contrib
  • postgresql-libs
  • perl
  • apache
  • mod_perl
  • gcc
  • binutils
  • glibc-devel
  • glibc-kernheaders
  • automake
  • autoconf

C library install

You'll want to install the following RPM's (extraneous version-related naming has been left out for brevity; the development packages are important and required):

  • openssl
  • openssl-devel
  • libpng
  • libpng-devel
  • libjpeg
  • libjpeg-devel
  • libtiff
  • libtiff-devel
  • curl
  • curl-devel
  • db4
  • db4-devel
  • libxml2
  • libxml2-devel
  • libxslt
  • libxslt-devel
  • expat
  • expat-devel
  • bzip2
  • bzip2-libs
  • bzip2-devel
  • zlib
  • zlib-devel

Perl module install

RedHat includes some Perl modules as RPMs in its distribution. You're encouraged to install the following RPMs first:

  • perl-CPAN
  • perl-DBI
  • perl-TermReadKey
  • perl-URI
  • perl-libxml-perl
  • perl-XML-Parser
  • perl-URI
  • perl-HTML-Tagset
  • perl-HTML-Parser
  • perl-Parse-RecDescent
  • perl-Inline
  • perl-XML-NamespaceSupport
  • perl-XML-Parser
  • perl-XML-SAX
  • perl-XML-LibXML-Common
  • perl-XML-LibXML
The only prerequisite not included above is DBD::Pg (perl-DBD-Pg), because many versions of it (including the newest ones) are incompatible with OME (see the Prerequisites page for a list of known good versions). It is probably easiest to specifically not install it, then answer yes when prompted to download and install DBD::Pg from the OME repository—that way, you know you will get a working version and avoid cryptic dbd errors later on.

Following those package-based installs you will have to install the following modules from either CPAN (more information here) or allow the OME installer to do it for you:

  • Apache::Session
  • Log::Agent
  • IPC::Run
  • Class::Accessor
  • Class::Data::Inheritable
  • Exporter::Lite
  • UNIVERSAL::exports
  • HTML::Template
  • XML::LibXSLT
  • SOAP::Lite
  • OLE::Storage_Lite
  • Spreadsheet::ParseExcel

FAQ

  • If install fails due to database problems (e.g. createdb fails) try running psql from the command line.
    [tmacur1@localhost perl2]$ psql
              psql: could not connect to server: No such file or directory
              Is the server running locally and accepting
              connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
            

After an rpm install of postgresql you probably need to start the PostgreSQL 'postmaster' service:

sudo /sbin/service postgresql start

You will probably want PostgreSQL to start on boot. The init script, which automates startup and shutdown, is already copied to the init.d directory by the rpm install. You just have to turn it on to the appropriate run levels.

      sudo /sbin/chkconfig --level 345 postgresql on
    

If the install succeeds and you have problems with serve.pl try running serve.pl from the command line.

If you get the following then you need to install cgi.pm 3.05 from here.

perl /OME/perl2/serve.pl
      Can't locate CGI.pm in @INC (@INC contains: ... )
      BEGIN failed--compilation aborted at /OME/perl2/serve.pl line 43.
    

The following output is evidence that serve.pl is running properly.

[tmacur1@localhost perl2]$ perl /OME/perl2/serve.pl
      [Sat May 22 20:26:14 2004] serve.pl: Page not specified. at /OME/perl2/serve.pl line 110
      Status: 404 File not found
      Content-Type: text/html; charset=ISO-8859-1
      
      Page not specified.
    
Document Actions