From: dbs Date: Sat, 17 Jan 2009 03:35:26 +0000 (+0000) Subject: We need to specify the target database. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5c07ac50bf988732ab89d5bdc5d084ffc2a25ad5;p=Evergreen.git We need to specify the target database. We also need to cover distros that don't package 8.2 any longer. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11867 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/README b/README index a426e4c208..be61e793d9 100644 --- a/README +++ b/README @@ -80,19 +80,23 @@ Creating the Evergreen database: =============================== PostgreSQL 8.2 will be installed on your system by the Makefile.install -prerequisite installer, but 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: +prerequisite installer if packages are available for your distribution, or +you will have to compile PostgreSQL 8.2 from source and install it (which +is beyond the scope of this document). + +Once the PostgreSQL 8.2 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: createdb -E UNICODE evergreen createlang plperl evergreen createlang plperlu evergreen createlang plpgsql evergreen -psql -f /usr/share/postgresql/8.2/contrib/tablefunc.sql -psql -f /usr/share/postgresql/8.2/contrib/tsearch2.sql -psql -f /usr/share/postgresql/8.2/contrib/pgxml.sql +psql -f /usr/share/postgresql/8.2/contrib/tablefunc.sql -d evergreen +psql -f /usr/share/postgresql/8.2/contrib/tsearch2.sql -d evergreen +psql -f /usr/share/postgresql/8.2/contrib/pgxml.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"