New install doc

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема New install doc
Дата
Msg-id XFMail.000120181641.vev@michvhf.com
обсуждение исходный текст
Ответы Re: [HACKERS] New install doc  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
2. If you are not upgrading an existing system then skip to .

skip to 4.

6. Install the program. Type
    $ gmake install

The installer needs to have write access to the install directory.

 8. Create the database installation. To do this you must log in to your    PostgreSQL superuser account. It will not
workas root.
 
    $ mkdir /usr/local/pgsql/data    $ chown postgres /usr/local/pgsql/data

I thought the data directory was created either in the gmake install step
or initdb.   Either way the chown might be better as:

# chown -R postgres:postgres /usr/local/pgsql

that should be the same on most systems with perhaps the exception of the
colon.  Anyway it'll make sure that all the files have the correct owners.


9. The previous step should have told you how to start up the database    server. Do so now.
    $ /usr/local/pgsql/initdb/postmaster -D /usr/local/pgsql/data

Shouldn't that be /usr/local/pgsql/bin/postmaster ??                                  ^^^


Outside of that, it looks great!!

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: vev@michvhf.com    http://www.pop4.net  128K ISDN: $24.95/mo or less - 56K Dialup:
$17.95/moor less at Pop4       Online Campground Directory    http://www.camping-usa.com      Online Giftshop
Superstore   http://www.cloudninegifts.com
 
==========================================================================




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] A notice for too long names
Следующее
От: Tom Lane
Дата:
Сообщение: Some notes on optimizer cost estimates