From 7ee0681fd46fe323271bc55a6f66c2a634800f90 Mon Sep 17 00:00:00 2001 From: mom040267 Date: Mon, 16 Feb 2015 05:18:09 +0000 Subject: [PATCH] postgres install info extended --- INSTALL | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 23059ca..8edc407 100644 --- a/INSTALL +++ b/INSTALL @@ -856,7 +856,12 @@ connection string format. Below are the steps to setup the PostgreSQL database server from scratch: -1) Install PostgreSQL server. +1) Install PostgreSQL server. After the installation, do not forget to +initialize the postgres root database directory: + + $ sudo bash + $ su -l pgsql + $ initdb -D /usr/local/pgsql/data 2) Find and edit Postgres' pg_hba.conf file to set the access options (see docs). On different systems, it may be located in different places.