'chown -R postgres /usr/local/pgsql' is wrong. Need to do some more typing.
This commit is contained in:
parent
aaed778074
commit
f93449eb34
@ -1,4 +1,4 @@
|
|||||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.54 2001/09/10 08:46:46 ishii Exp $ -->
|
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.55 2001/09/12 20:57:28 petere Exp $ -->
|
||||||
|
|
||||||
<chapter id="installation">
|
<chapter id="installation">
|
||||||
<title><![%flattext-install-include[<productname>PostgreSQL</>]]>
|
<title><![%flattext-install-include[<productname>PostgreSQL</>]]>
|
||||||
@ -15,9 +15,11 @@
|
|||||||
<synopsis>
|
<synopsis>
|
||||||
./configure
|
./configure
|
||||||
gmake
|
gmake
|
||||||
|
su
|
||||||
gmake install
|
gmake install
|
||||||
adduser postgres
|
adduser postgres
|
||||||
chown -R postgres /usr/local/pgsql
|
mkdir /usr/local/pgsql/data
|
||||||
|
chown postgres /usr/local/pgsql/data
|
||||||
su - postgres
|
su - postgres
|
||||||
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
|
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
|
||||||
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
|
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user