These steps illustrate how to install the PostgreSQL software on shared storage. You can also build and install the PostgreSQL binaries in the default directory /usr/local/pgsql. See <xref an place we figure out to put the alternative approach, unless we don't figure it out>.
Log in as the PostgreSQL user.
phys-schost-1# su - postgres |
Set up the build environment.
Install the source and configure the build.
phys-schost-1$ gzcat /tmp/postgresql-8.1.0.tag.gz | tar xvf - phys-schost-1$ cd /global/mnt3/postgres/build/postgresql-8.1.0 phys-schost-1$ ./configure --prefix=/global/mnt3/postgres/postgresql-8.1.0 |
Build the PostgreSQL binaries.
phys-schost-1$ gmake |
If you use gcc to build the postgres binaries, build them in a failover file system.
Run the PostgreSQL regression tests.
phys-schost-1$ gmake check |
Install the PostgreSQL binaries.
phys-schost-1# gmake install |
Clean the distribution.
phys-schost-1$ gmake clean |