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

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

From
"Eko Prasetiyo"
Date:
Hello,

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.

Best Regards,

--
eco

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

From
Tino Schwarze
Date:
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

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

From
Devrim GÜNDÜZ
Date:
On Wed, 2008-07-09 at 18:23 +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 po

Currently there is no way to do that using package manager (RPM).
However, you can install 8.2 from sources and using a different port.

-HTH.
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Attachment