PostgreSQL RPM installation method(RedHat 5.1) - Mailing list pgsql-admin

From Bennett Yip
Subject PostgreSQL RPM installation method(RedHat 5.1)
Date
Msg-id 35D5AC11.BA03F083@netvigator.com
Whole thread Raw
List pgsql-admin
Hello,

I am a new Linux user. I hope these step can help other RedHat 5.1 user
Step by step in RedHat 5.1

1.To install PosqtgreSQL and create the first user

root # rpm -Uvh postgresql-*
root # create pguser1
root # su - postgres
postgres# postmaster -D/usr/lib/pgsql
postgres# createuser pguser1
postgres# exit


2.To run the postmaster when booting

root # setup
It is the easiest way to manager the Linux configration in RedHat.
It can setup keyboard, mouse, sound card, Xwin, load/unload services....



3.Let postmaster to be connected with TCP/IP

a. (run postmaster manully)
root # postmaster -S -i -D/usr/lib/pgsql

b. (This must be done if you have finished step 2)
 - change to the directory, init.d (I forget the path, :p)
 - edit the file, postgresql
 - find the string "postmaster -S -D/usr/lib/pgsql"
 - change the string "postmaster -S -i -D/usr/lib/pgsql"
 - save it


Bennett.

Attachment

pgsql-admin by date:

Previous
From: "윤영철"
Date:
Subject: How to compile postgres 6.3.2 on i86 Solaris 2.5?
Next
From: Dariusz Owczarek
Date:
Subject: (no subject)