16.1. Short Version
Prev | Up | Chapter 16. Installation from Source Code | Home | Next

## 16.1. Short Version

    ./configure
    make
    su
    make install
    adduser postgres
    mkdir /usr/local/pgsql/data
    chown postgres /usr/local/pgsql/data
    su - postgres
    /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
    /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
    /usr/local/pgsql/bin/createdb test
    /usr/local/pgsql/bin/psql test

The long version is the rest of this chapter.

Prev | Up | Next
Chapter 16. Installation from Source Code | Home | 16.2. Requirements