|
1 | | -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.54 2001/09/10 08:46:46 ishii Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.55 2001/09/12 20:57:28 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="installation"> |
4 | 4 | <title><![%flattext-install-include[<productname>PostgreSQL</>]]> |
|
12 | 12 | <title>Short Version</title> |
13 | 13 |
|
14 | 14 | <para> |
15 | | -<synopsis> |
| 15 | +<synopsis> |
16 | 16 | ./configure |
17 | 17 | gmake |
| 18 | +su |
18 | 19 | gmake install |
19 | 20 | adduser postgres |
20 | | -chown -R postgres /usr/local/pgsql |
| 21 | +mkdir /usr/local/pgsql/data |
| 22 | +chown postgres /usr/local/pgsql/data |
21 | 23 | su - postgres |
22 | 24 | /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data |
23 | 25 | /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & |
24 | 26 | /usr/local/pgsql/bin/createdb test |
25 | 27 | /usr/local/pgsql/bin/psql test |
26 | | -</synopsis> |
| 28 | +</synopsis> |
27 | 29 | The long version is the rest of this |
28 | 30 | <![%flattext-install-include;[document.]]> |
29 | 31 | <![%flattext-install-ignore;[chapter.]]> |
|