Saturday, January 31, 2009

Config Postgres from binary packages on OpenSolaris

Download binary package from
http://www.postgresql.org/ftp/binary/

Choose package for solaris

Extract package

Open terminal

Point to package folder/bin

Check library link to initdb

#ldd initdb

if you see some line "Find not found", you can find it in /usr/lib

If in /usr/lib not contains that file, you can copy some file latest version back to version required

Initializing DB
#./initdb //data

using PgAdmin 3 login in to db, using current user you logged in.

Good luck!

No comments: