From: | Bennett Yip <benyip(at)netvigator(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | PostgreSQL RPM installation method(RedHat 5.1) |
Date: | 1998-08-15 15:41:06 |
Message-ID: | 35D5AC11.BA03F083@netvigator.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
vcard.vcf | text/x-vcard | 273 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Dariusz Owczarek | 1998-08-15 17:33:02 | (no subject) |
Previous Message | 윤영철 | 1998-08-15 04:23:04 | How to compile postgres 6.3.2 on i86 Solaris 2.5? |