Unix Technical Forum

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

This is a discussion on Install another version on different directory and port (CentOS, Redhat) within the pgsql Admins forums, part of the PostgreSQL category; --> Hello, Now i have pgsql 8.0 server installed on CentOS Linux (Redhat). How to install pqsql 8.2 on different ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2008, 05:48 PM
Eko Prasetiyo
 
Posts: n/a
Default Install another version on different directory and port (CentOS, Redhat)

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

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-14-2008, 05:48 PM
Tino Schwarze
 
Posts: n/a
Default Re: Install another version on different directory and port (CentOS, Redhat)

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

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-14-2008, 05:48 PM
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?=
 
Posts: n/a
Default Re: Install another version on different directory andport (CentOS, Redhat)

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkh0lv8ACgkQtl86P3SPfQ69HgCeNKyz3e5MeN 8Y/h6uU2aJft8J
fYwAn33VstUvxwOwOKGNKm28FrS8CRPX
=ZKBT
-----END PGP SIGNATURE-----

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com