From: miker Date: Mon, 7 Mar 2011 20:26:20 +0000 (+0000) Subject: We now require PG 9.0+, say as much in the README X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=de2bdc2a9e4fd9d60e48f2aa2193bad38871b6cb;p=evergreen%2Fjoelewis.git We now require PG 9.0+, say as much in the README git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@19629 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/README b/README index cc8edf4fd5..6363cbbe30 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -README for Evergreen trunk +README for Evergreen 2.1 Installing prerequisites: ======================== @@ -43,7 +43,7 @@ Installation instructions: Once you have configured and compiled Evergreen, issue the following command as the root user to install Evergreen: -make STAFF_CLIENT_STAMP_ID=rel_trunk install +make STAFF_CLIENT_STAMP_ID=rel_2_1 install This will install Evergreen, including example configuration files in /openils/conf/ that you can use as templates for your own configuration files. @@ -111,27 +111,27 @@ connection information in opensrf.xml for you. Creating the Evergreen database: =============================== -PostgreSQL 8.3 or 8.4 will be installed on your system by the Makefile.install +PostgreSQL 9.0 will be installed on your system by the Makefile.install prerequisite installer if packages are available for your distribution, or -you will have to compile PostgreSQL 8.3 or 8.4 from source and install it (which -is beyond the scope of this document). PostgreSQL 8.4 is recommended if you have -the option. +you will have to compile PostgreSQL 9.0 from source and install it (which +is beyond the scope of this document). Once the PostgreSQL database server has been installed, you will need to create the database and add the appropriate languages and extensions to support Evergreen. Issue the following commands as the "postgres" user to set up a database called "evergreen". Note that the location of the PostgreSQL "contrib" packages may vary depending on your distribution. In the following -commands, we assume that you are working with PostgreSQL 8.4 on a Debian-based +commands, we assume that you are working with PostgreSQL 9.0 on a Debian-based system: createdb --template template0 --encoding UNICODE evergreen createlang plperl evergreen createlang plperlu evergreen createlang plpgsql evergreen -psql -f /usr/share/postgresql/8.4/contrib/tablefunc.sql -d evergreen -psql -f /usr/share/postgresql/8.4/contrib/tsearch2.sql -d evergreen -psql -f /usr/share/postgresql/8.4/contrib/pgxml.sql -d evergreen +psql -f /usr/share/postgresql/9.0/contrib/tablefunc.sql -d evergreen +psql -f /usr/share/postgresql/9.0/contrib/tsearch2.sql -d evergreen +psql -f /usr/share/postgresql/9.0/contrib/pgxml.sql -d evergreen +psql -f /usr/share/postgresql/9.0/contrib/hstore.sql -d evergreen Once you have created the Evergreen database, you need to create a PostgreSQL user to access the database. Issue the following command as the "postgres"