|
|
|
@ -1,5 +1,5 @@ |
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41.2.2 2000/06/01 05:58:56 momjian Exp $ |
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41.2.3 2000/06/05 10:59:16 momjian Exp $ |
|
|
|
--> |
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
<chapter id="install"> |
|
|
|
<chapter id="install"> |
|
|
|
@ -8,7 +8,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41.2.2 2000/06/01 05 |
|
|
|
<abstract> |
|
|
|
<abstract> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
Installation instructions for |
|
|
|
Installation instructions for |
|
|
|
<productname>PostgreSQL</productname> 7.0.1. |
|
|
|
<productname>PostgreSQL</productname> 7.0.2. |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
</abstract> |
|
|
|
</abstract> |
|
|
|
|
|
|
|
|
|
|
|
@ -18,9 +18,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.41.2.2 2000/06/01 05 |
|
|
|
then unpack it: |
|
|
|
then unpack it: |
|
|
|
|
|
|
|
|
|
|
|
<programlisting> |
|
|
|
<programlisting> |
|
|
|
> gunzip postgresql-7.0.1.tar.gz |
|
|
|
> gunzip postgresql-7.0.2.tar.gz |
|
|
|
> tar -xf postgresql-7.0.1.tar |
|
|
|
> tar -xf postgresql-7.0.2.tar |
|
|
|
> mv postgresql-7.0.1 /usr/src |
|
|
|
> mv postgresql-7.0.2 /usr/src |
|
|
|
</programlisting> |
|
|
|
</programlisting> |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
|
|
@ -241,16 +241,16 @@ All of PostgreSQL is successfully made. Ready to install. |
|
|
|
|
|
|
|
|
|
|
|
<step performance="required"> |
|
|
|
<step performance="required"> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
If you are not upgrading an existing system then skip to |
|
|
|
If you are not upgrading an existing system, skip to |
|
|
|
<xref linkend="continue">. |
|
|
|
<xref linkend="continue">. |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
If you are running 7.0 or later, skip to |
|
|
|
If you are running 7.*, skip to step |
|
|
|
<xref linkend="nodump">. |
|
|
|
<xref linkend="nodump">. |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
You now need to back up your existing database. |
|
|
|
You now need to back up your existing database. |
|
|
|
To dump your fairly recent post-6.0 database installation, type |
|
|
|
To dump your database installation, type: |
|
|
|
<programlisting> |
|
|
|
<programlisting> |
|
|
|
> pg_dumpall > db.out |
|
|
|
> pg_dumpall > db.out |
|
|
|
</programlisting> |
|
|
|
</programlisting> |
|
|
|
@ -264,18 +264,8 @@ All of PostgreSQL is successfully made. Ready to install. |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
Make sure to use the <application>pg_dumpall</application> |
|
|
|
Make sure to use the <application>pg_dumpall</application> |
|
|
|
command from the version you are currently running. |
|
|
|
command from the version you are currently running. |
|
|
|
7.0.1's <application>pg_dumpall</application> will not work on older databases. |
|
|
|
7.0.2's <application>pg_dumpall</application> should not |
|
|
|
However, if you are still using 6.0, do not use the |
|
|
|
be used on older databases. |
|
|
|
<application>pg_dumpall</application> script from 6.0 or everything will be |
|
|
|
|
|
|
|
owned by the <productname>PostgreSQL</productname> superuser after you |
|
|
|
|
|
|
|
reload. In that case |
|
|
|
|
|
|
|
you should grab <application>pg_dumpall</application> from a later |
|
|
|
|
|
|
|
6.x.x release. |
|
|
|
|
|
|
|
If you are upgrading from a version prior to |
|
|
|
|
|
|
|
<productname>Postgres95</productname> v1.09 then you must back |
|
|
|
|
|
|
|
up your database, |
|
|
|
|
|
|
|
install <productname>Postgres95</productname> v1.09, restore your database, |
|
|
|
|
|
|
|
then back it up again. |
|
|
|
|
|
|
|
</para> |
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
|
|
<caution> |
|
|
|
<caution> |
|
|
|
@ -295,7 +285,7 @@ All of PostgreSQL is successfully made. Ready to install. |
|
|
|
|
|
|
|
|
|
|
|
<step performance="required" id="nodump"> |
|
|
|
<step performance="required" id="nodump"> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
If you are upgrading an existing system then kill the database |
|
|
|
If you are upgrading an existing system, kill the database |
|
|
|
server now. Type |
|
|
|
server now. Type |
|
|
|
<programlisting> |
|
|
|
<programlisting> |
|
|
|
> ps ax | grep postmaster |
|
|
|
> ps ax | grep postmaster |
|
|
|
@ -460,7 +450,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
This concludes the installation proper. To make your life more |
|
|
|
This concludes the installation proper. To make your life more |
|
|
|
productive and enjoyable |
|
|
|
productive and enjoyable |
|
|
|
you should look at the following optional steps and suggestions. |
|
|
|
you should look at the following optional steps and suggestions: |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
|
|
|
|
|
|
|
|
<itemizedlist> |
|
|
|
<itemizedlist> |
|
|
|
@ -493,7 +483,7 @@ libpq.so.2.1: cannot open shared object file: No such file or directory |
|
|
|
You probably want to install the <application>man</application> and |
|
|
|
You probably want to install the <application>man</application> and |
|
|
|
<acronym>HTML</acronym> documentation. Type |
|
|
|
<acronym>HTML</acronym> documentation. Type |
|
|
|
<programlisting> |
|
|
|
<programlisting> |
|
|
|
> cd /usr/src/pgsql/postgresql-7.0.1/doc |
|
|
|
> cd /usr/src/pgsql/postgresql-7.0.2/doc |
|
|
|
> gmake install |
|
|
|
> gmake install |
|
|
|
</programlisting> |
|
|
|
</programlisting> |
|
|
|
This will install files under <filename>/usr/local/pgsql/doc</filename> |
|
|
|
This will install files under <filename>/usr/local/pgsql/doc</filename> |
|
|
|
|