Install and configure PostgreSQL
================================

This section describes how to set up PostgreSQL for GMN.

In PostgreSQL, the user with unlimited access is called the superuser. The
superuser does not have a password by default.

The default peer authentication is used for the superuser and GMN users.

  Install the PostgreSQL server and client::

    $ sudo apt-get install postgresql

  Set the password of the postgres superuser account::

    $ sudo passwd -d postgres
    $ sudo su postgres -c passwd

  When prompted for the password, enter a new superuser password (and remember it :-).

  Create GMN user::

    $ sudo -u postgres createuser gmn2

  Create a database for GMN::

    $ sudo -u postgres createdb -E UTF8 gmn2


Install and configure PostgreSQL
================================

This section describes how to set up PostgreSQL for GMN.

In PostgreSQL, the user with unlimited access is called the superuser. The
superuser does not have a password by default.

The default peer authentication is used for the superuser and GMN users.

  Install the PostgreSQL server and client::

    $ sudo apt-get install postgresql

  Set the password of the postgres superuser account::

    $ sudo passwd -d postgres
    $ sudo su postgres -c passwd

  When prompted for the password, enter a new superuser password (and remember it :-).

  Create GMN user::

    $ sudo -u postgres createuser gmn

  Create a database for GMN::

    $ sudo -u postgres createdb -E UTF8 gmn2


Fix error in Postgres setup doc
Fix error in Postgres setup doc
