LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-20-2010, 03:48 PM   #1
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Rep: Reputation: 15
PostgreSQL 8.3 and 8.4 possible [PostGIS related]


I would like to have postgresql 8.3 and 8.4 installed at the same time - running of a different port of course. I would also like to have postgis 1.3 installed under 8.3.

I already have 8.4 and postgis installed, is it possible using the ubuntu provided packages to do this? If so where can I find them and how do I do this?

I know I can compile these as well, but I would rather use the dist packages for these two apps, has anyone don this setup before, or at the least two versions of postgis?

I would actually rather just do two postgis versions.
 
Old 12-21-2010, 09:17 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

I have never really worked on Ubuntu, but I know that it has similar packaging system than Debian. So Debian's one being somehow similar to RHEL/Fedora rpm/yum one, I give the advice below.

Clearly using the packages it will install your softwares with many default paths for the files. I am not sure that you would be able to specified different paths for the dynamic Postgres libraries and executables. So I'll suggest you install one Postgres instance from the packages and the other from the sources performing the compilation with the options needed for the different paths as required by your needs to have both version running on the same machine.

Why not considering using 2 different machines?

Regards,

Tshimanga.
 
Old 01-07-2011, 02:43 AM   #3
benali72
Member
 
Registered: Aug 2007
Posts: 32

Rep: Reputation: 0
Install under different Ubuntu instances...

As a DBA I would suggest installing 8.3 under one Ubuntu instance and 8.4 under another.

For many reasons (eg: ease of configuration, performance tuning, etc) it is best to have 1 database instance under 1 operating system instance. Of course you could still keep it all on 1 physical computer if you want.

Installing both 8.3 and 8.4 under 1 Ubuntu instance is just asking for headaches, in my experience.

Best of luck.
 
Old 01-07-2011, 06:28 AM   #4
fruitwerks
Member
 
Registered: Apr 2009
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the advice all. I think I will end up running a Debian chroot within the Ubuntu install. Debian is a great OS, but always a little behind on what they consider stable. For what I need right now, that works to my advantage.

Thanks
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postgresql johnh10000 Linux - Newbie 7 08-30-2009 03:52 PM
help-postgres postgis install and help with server admin on vps fedora phprules Linux - Server 1 01-12-2008 01:55 AM
PostgreSQL thinker Red Hat 7 12-05-2006 03:39 PM
PostgreSql sijomon_nd Fedora 1 09-27-2005 09:27 PM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration