Post-installation

  • Add PREFIX/lib to LD_LIBRARY_PATH, /etc/ld.so.conf, etc
  • Set up user/cluster:
root# adduser postgres
root# mkdir /path/to/datadir/data
root# chown postgres /path/to/datadir/data
root# su - postgres
postgres$ PREFIX/bin/initdb -D /path/to/datadir/data
  • To start
postgres$ PREFIX/bin/pg_ctl -D /path/to/datadir/data
  • Must be started by user who initdb'd
Prev

Next

Page 5