mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/engine/sql/README: add info about running without root
privileges git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3742 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
354f1202d2
commit
d786539c08
@ -1,5 +1,8 @@
|
|||||||
2001-03-03 Dave Peticolas <dave@krondo.com>
|
2001-03-03 Dave Peticolas <dave@krondo.com>
|
||||||
|
|
||||||
|
* src/engine/sql/README: add info about running without root
|
||||||
|
privileges
|
||||||
|
|
||||||
* src/engine/sql/design.txt: update design docs
|
* src/engine/sql/design.txt: update design docs
|
||||||
|
|
||||||
* src/engine/sql/PostgresBackend.c (pgend_session_begin): connect
|
* src/engine/sql/PostgresBackend.c (pgend_session_begin): connect
|
||||||
|
@ -24,6 +24,33 @@ Postgres Install Instructions
|
|||||||
Note also the user must have 'createuser' permissions in order to
|
Note also the user must have 'createuser' permissions in order to
|
||||||
lock tables (this is a bug in postgres 6.5 and maybe later ???)
|
lock tables (this is a bug in postgres 6.5 and maybe later ???)
|
||||||
|
|
||||||
|
Alternatively, you can install into a brand new database without
|
||||||
|
using root privileges. After step 1 above, perform the following:
|
||||||
|
|
||||||
|
2) initdb -D ~/gnucash
|
||||||
|
This creates a directory structure and supporting files
|
||||||
|
under ~/gnucash. The gnucash directory is automatically
|
||||||
|
created. The directories and files are owned by the user
|
||||||
|
running 'initdb' and have only user access; group and
|
||||||
|
other are cleared.
|
||||||
|
|
||||||
|
By default, the user running 'initdb' is setup as the
|
||||||
|
database superuser for the new database.
|
||||||
|
|
||||||
|
You don't have to use the name 'gnucash'; you can choose
|
||||||
|
whatever you want.
|
||||||
|
|
||||||
|
3) pg_ctl -D ~/gnucash -o "-p 6543" start
|
||||||
|
|
||||||
|
This starts a postmaster process for the new database
|
||||||
|
listening on port 6543. If your system doesn't already
|
||||||
|
have a postmaster processing running for the system
|
||||||
|
database, you can leave out '-o "-p 6543"' and it will
|
||||||
|
use the default port 5432. You can use any open port.
|
||||||
|
|
||||||
|
By default, the postmaster process will only accept
|
||||||
|
connections from processes on the local host.
|
||||||
|
|
||||||
|
|
||||||
GnuCash Build Instructions
|
GnuCash Build Instructions
|
||||||
--------------------------
|
--------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user