1- Chapter 0. Installation
2-
3- Table of Contents
4- Before you start
5- Installation Procedure
6-
71 Installation instructions for PostgreSQL 7.0.
82
93Commands were tested on RedHat Linux version 5.2 using the bash shell.
@@ -58,7 +52,6 @@ Considering today's prices for hard disks, getting a large and fast hard
5852disk should probably be in your plans before putting a database into
5953production use.
6054
61- ---------------------------------------------------------------------------
6255
6356Installation Procedure
6457
@@ -79,7 +72,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
7972 (although you can). You will be told when you need to login as the
8073 database superuser.
8174
82- 2. If you are not upgrading an existing system then skip to .
75+ 2. If you are not upgrading an existing system then skip tostep 4 .
8376
8477 You now need to back up your existing database. To dump your fairly
8578 recent post-6.0 database installation, type
@@ -103,6 +96,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
10396 backup. If necessary, bring down postmaster, edit the permissions in file
10497 /usr/local/pgsql/data/pg_hba.conf to allow only you on, then bring
10598 postmaster back up.
99+
106100 3. If you are upgrading an existing system then kill the database server
107101 now. Type
108102
@@ -140,11 +134,13 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
140134 make choices about what gets installed. Change into the src
141135 subdirectory and type:
142136
143- $ ./configure [ options ]
137+ $ ./configure
144138
145- For a complete list of options, type:
139+ followed by any options you might want to give it. For a first
140+ installation you should be able to do fine without any. For a complete
141+ list of options, type:
146142
147- ./configure --help
143+ ./configure --help
148144
149145 Some of the more commonly used ones are:
150146
@@ -231,12 +227,15 @@ For a fresh install or upgrading from previous releases of PostgreSQL:
231227 The -D option specifies the location where the data will be stored. You
232228 can use any path you want, it does not have to be under the
233229 installation directory. Just make sure that the superuser account can
234- write to it (or create it) before starting initdb.
230+ write to the directory (or create it) before starting initdb. (If you
231+ have already been doing the installation up to now as the PostgreSQL
232+ superuser, you may have to log in as root temporarily to create the
233+ data directory.)
235234
236235 9. The previous step should have told you how to start up the database
237236 server. Do so now.
238237
239- $ /usr/local/pgsql/initdb /postmaster -D /usr/local/pgsql/data
238+ $ /usr/local/pgsql/bin /postmaster -D /usr/local/pgsql/data
240239
241240 This will start the server in the foreground. To make it detach to the
242241 background, use the -S.
@@ -270,7 +269,12 @@ suggestions.
270269 $ cd /usr/src/pgsql/postgresql-7.0/doc
271270 $ gmake install
272271
273- This will install files under /usr/local/pgsql/doc.
272+ This will install files under /usr/local/pgsql/doc and
273+ /usr/local/pgsql/man. To enable your system to find the man
274+ documentation, you need to add a line like the following to a shell
275+ startup file:
276+
277+ MANPATH=$MANPATH:/usr/local/pgsql/man
274278
275279 The documentation is also available in Postscript format. If you have a
276280 Postscript printer, or have your machine already set up to accept