From 3018dfb619bc7d3bccf0722c3f72326a22b5ed51 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 1 May 2013 17:02:57 -0400 Subject: [PATCH] revisions to installation instructions - Remove references to PostgreSQL 9.0; 9.1 is recommended for Evergreen 2.4. - Clarify that the latest version of OpenSRF now means 2.2 or later. - Increase chances that somebody following the instructions precisely doesn't run into a problem during the configure step. Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- docs/installation/server_installation.txt | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/docs/installation/server_installation.txt b/docs/installation/server_installation.txt index 2b75fbfc6e..53dcfb6ff3 100644 --- a/docs/installation/server_installation.txt +++ b/docs/installation/server_installation.txt @@ -76,7 +76,7 @@ Installing prerequisites Evergreen has a number of prerequisite packages that must be installed before you can successfully configure, compile, and install Evergreen. -1. Begin by installing the most recent version of OpenSRF (2.1 or later). +1. Begin by installing the most recent version of OpenSRF (2.2 or later). You can download OpenSRF releases from http://evergreen-ils.org/opensrf.php 2. On many distributions, it is necessary to install PostgreSQL 9 from external repositories. @@ -147,10 +147,14 @@ the *user* Linux account to configure and build Evergreen: [source, bash] ------------------------------------------------------------------------------ -./configure --prefix=/openils --sysconfdir=/openils/conf +PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf make ------------------------------------------------------------------------------ +These instructions assume that you have also installed OpenSRF under `/openils/`. +If not, please adjust PATH as needed so that the Evergreen `configure` script +can find `osrf_config`. + Installation instructions ------------------------- @@ -419,26 +423,6 @@ PostgreSQL 9.1 and later To create the database instance on a remote database server running PostgreSQL 9.1 or later, simply use the `--create-database` flag on `eg_db_config`. -For PostgreSQL 9.0 -^^^^^^^^^^^^^^^^^^ -To create the database instance on a remote database server running PostgreSQL -9.0, you can either: - - * Install the PostgreSQL contrib modules on the machine on which you - are installing the Evergreen code, and use the `--create-database` - option from that machine, or - * Copy the `Open-ILS/src/sql/Pg/create_database.sql` script to your - PostgreSQL server and invoke it as the *postgres* Linux account: -+ -[source, bash] ------------------------------------------------------------------------------- -psql -vdb_name= -vcontrib_dir=`pg_config --sharedir`/contrib -f create_database.sql ------------------------------------------------------------------------------- - -Then you can issue the `eg_db_config` command as above _without_ the -`--create-database` argument to create your schema and configure your -configuration files. - Starting Evergreen ------------------ 1. As the *root* Linux account, start the `memcached` and `ejabberd` services -- 2.11.0