17.1. Short Version
Prev | Up | Chapter 17. Installation from Source Code | Home | Next

## 17.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/pg_ctl -D /usr/local/pgsql/data -l logfile start
    /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 17. Installation from Source Code | Home | 17.2. Requirements