This program does the following:
1. Creates a Unix group named aox.
2. Creates a Unix user named aox.
3. Creates a Postgres user named aox.
4. Creates a Postgres user named aoxsuper.
5. Creates a Postgres database named archiveopteryx owned by aoxsuper.
6. Loads the database schema and grants limited privileges to user aox.
7. Generates an initial configuration file.
8. Adjusts ownership and permissions if necessary.
installer should be run after
jam install when installing from source.
By default, the address of the PostgreSQL server is derived from the
DBADDRESS setting in the
Jamsettings file (which is
127.0.0.1 by default). If the
db-address variable is set in an existing configuration file, that value takes
precedence. If the
-a command-line flag is used, then the address specified has precedence
over either of the former values.
If the server address (as determined above) is
127.0.0.1, the installer will try to use a Unix domain socket to connect to the
server. The location of this socket is determined by the
-s socket command-line argument. If no socket is specified, the default named
socket location (
/tmp/.s.PGSQL.5432) is used instead.
For any other server address, the installer will try to use a Unix
domain socket only if one is explicitly specified with
-s. In any case, if password authentication is to be used when talking to
the server, the
-P option will cause the installer to prompt for the password.