Documentazione di PostgreSQL 9.0 > Amministrazione del server > Installation from Source Code
PrecedenteAmministrazione del serverRequirementsSuccessivo

15. Installation from Source Code

This document chapter describes the installation of PostgreSQL™ using the source code distribution. (If you are installing a pre-packaged distribution, such as an RPM or Debian package, ignore this document chapter and read the packager's instructions instead.)

15.1. Short Version

./configure
gmake
su
gmake 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 document chapter.

Documentazione di PostgreSQL 9.0 > Amministrazione del server > Installation from Source Code
PrecedenteAmministrazione del serverRequirementsSuccessivo