Re: installation on Sun Solaris for version 8.4 - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: installation on Sun Solaris for version 8.4
Date
Msg-id AANLkTim4hhrA9GNr0UXjmWyQfomL6LoCOhZEM2SUvC7I@mail.gmail.com
Whole thread Raw
In response to installation on Sun Solaris for version 8.4  (Sherry.CTR.Zhu@faa.gov)
List pgsql-admin
On Thu, May 20, 2010 at 11:56 AM,  <Sherry.CTR.Zhu@faa.gov> wrote:
>
> All,
>
>   I downloaded the file for Sun solaris 8.4 version, and extracted.  Can
> someone tell me where the configure script is?  Which unix account should
> run this script?  You help is very appreciated.

It looks like you're compiling from source so you can run this from
any account really.

./configure
make
sudo make install

After that you can create a service account for it (just a regular
user account is fine really) and use that to run initdb and pg_ctl

sudo adduser postgres
sudo mkdir /usr/local/pgsql/data
sudo chown postgres.postgres /usr/local/pgsql/data
sudo su - postgres
initdb -D /usr/local/pgsql/data
pg_ctl -D /usr/local/pgsql/data start

OR something like that.  I'm a RedHat / Ubuntu guy so I'm not sure
what command in Solaris is used to create an account, but I'm sure you
do, so just substitute it up there where I ran adduser.

pgsql-admin by date:

Previous
From: Sherry.CTR.Zhu@faa.gov
Date:
Subject: installation on Sun Solaris for version 8.4
Next
From: Scott Marlowe
Date:
Subject: Re: installation on Sun Solaris for version 8.4