Re: Install another version on different directory and port (CentOS, Redhat) - Mailing list pgsql-admin

From Tino Schwarze
Subject Re: Install another version on different directory and port (CentOS, Redhat)
Date
Msg-id 20080709094021.GB32558@easy2.in-chemnitz.de
Whole thread Raw
In response to Install another version on different directory and port (CentOS, Redhat)  ("Eko Prasetiyo" <ekop96@gmail.com>)
List pgsql-admin
On Wed, Jul 09, 2008 at 06:23:10PM +0900, Eko Prasetiyo wrote:

> Now i have pgsql 8.0 server installed on CentOS Linux (Redhat).
> How to install pqsql 8.2 on different directory and port ?
> In Windows we can easily do it.

Just download the source and use for example
./configure --prefix=/usr/local/pgsql82 --with-pgport=8200
make
make install

Of course, you could also take the src.rpm, install that and modify the
SPEC file accordingly (rename package to postgresql82, change
installation directory etc.), but that would be more effort, though
cleaner.

HTH,

Tino.

--
"What we nourish flourishes." - "Was wir nähren erblüht."

www.craniosacralzentrum.de
www.forteego.de

pgsql-admin by date:

Previous
From: "Eko Prasetiyo"
Date:
Subject: Install another version on different directory and port (CentOS, Redhat)
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Install another version on different directory and port (CentOS, Redhat)