Skip site navigation (1) Skip section navigation (2)

Re: Install another version on different directory and port (CentOS, Redhat)

From: Tino Schwarze <postgresql(at)tisc(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Install another version on different directory and port (CentOS, Redhat)
Date: 2008-07-09 09:40:21
Message-ID: 20080709094021.GB32558@easy2.in-chemnitz.de (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-admin by date

Next:From: Devrim GÜNDÜZDate: 2008-07-09 10:46:24
Subject: Re: Install another version on different directory andport (CentOS, Redhat)
Previous:From: Eko PrasetiyoDate: 2008-07-09 09:23:10
Subject: Install another version on different directory and port (CentOS, Redhat)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group